Finley Xiao d939d8f561 soc: rockchip: system_monitor: Fix memleak in rockchip_parse_video_info
unreferenced object 0xffffffc068ef4d00 (size 128):
  comm "MsgQueue", pid 6134, jiffies 4296734025 (age 942.967s)
  hex dump (first 32 bytes):
    31 00 77 69 64 74 68 00 31 39 32 30 00 68 65 69  1.width.1920.hei
    67 68 74 00 31 30 38 38 00 69 73 68 65 76 63 00  ght.1088.ishevc.
  backtrace:
    [<00000000a20494fa>] __kmalloc_track_caller+0x2c0/0x350
    [<00000000c761fedd>] kstrdup+0x38/0x68
    [<0000000007e9cfe0>] rockchip_parse_video_info+0x8c/0x110
    [<000000009380a4ea>] rockchip_update_system_status+0x6c/0x208
    [<000000002366d676>] status_store+0x1c/0x38
    [<00000000262b2d89>] kobj_attr_store+0x14/0x28
    [<0000000082de5cb2>] sysfs_kf_write+0x48/0x58
    [<000000004cf22a2f>] kernfs_fop_write+0xec/0x1e8
    [<000000002ce798af>] __vfs_write+0x34/0x158
    [<00000000b71f587d>] vfs_write+0xb4/0x1c8
    [<000000004acb036b>] ksys_write+0x64/0xe0
    [<000000003a4572a8>] __arm64_sys_write+0x14/0x20
    [<000000004373535e>] el0_svc_common.constprop.0+0xb8/0x178
    [<00000000b1dff00e>] el0_svc_compat_handler+0x18/0x20
    [<000000002ce195f8>] el0_svc_compat+0x8/0x34
    [<000000005ee63479>] 0xffffffffffffffff

Change-Id: Ie5e5728c4e0a067cad8178ad46f02fa21888e24e
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2019-11-04 16:34:12 +08:00
2019-02-10 00:33:21 +08:00
2019-10-11 19:13:57 +02:00
2019-08-06 20:08:18 +02:00
2019-02-10 00:33:21 +08:00
2019-02-10 00:33:21 +08:00
2019-08-29 19:45:37 +08:00
2019-08-29 19:45:37 +08:00
2019-10-17 15:33:07 -07:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%