diff options
author | 2019-11-21 13:16:56 -0600 | |
---|---|---|
committer | 2019-11-26 12:32:21 -0700 | |
commit | 637392a8506a3a7dd24ab9094a14f7522adb73b4 (patch) | |
tree | 5d3ce04e265c153c4db9273a4a9c9ecbbd2c10ec /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dt-bindings: interrupt-controller: arm,gic-v3: Add missing type to interrupt-partition-* nodes (diff) | |
download | linux-dev-637392a8506a3a7dd24ab9094a14f7522adb73b4.tar.xz linux-dev-637392a8506a3a7dd24ab9094a14f7522adb73b4.zip |
of: overlay: add_changeset_property() memory leak
No changeset entries are created for #address-cells and #size-cells
properties, but the duplicated properties are never freed. This
results in a memory leak which is detected by kmemleak:
unreferenced object 0x85887180 (size 64):
backtrace:
kmem_cache_alloc_trace+0x1fb/0x1fc
__of_prop_dup+0x25/0x7c
add_changeset_property+0x17f/0x370
build_changeset_next_level+0x29/0x20c
of_overlay_fdt_apply+0x32b/0x6b4
...
Fixes: 6f75118800ac ("of: overlay: validate overlay properties #address-cells and #size-cells")
Reported-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Tested-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions