228a44cce8
If fdt_add_property or fdt_property_placeholder fail after allocating a string for the name, they return without freeing that string. This does not change the structure of the tree, but in very specific cases it could lead to undesirable space consumption. Fix this by rolling back the string allocation in this situation. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Message-Id: <20190509094122.834-2-npiggin@gmail.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
75 lines
1.1 KiB
Text
75 lines
1.1 KiB
Text
*.dtb
|
|
*.dts.test.s
|
|
*.test.dts
|
|
*.test.dt.yaml
|
|
tmp.*
|
|
/fs/
|
|
/add_subnode_with_nops
|
|
/addr_size_cells
|
|
/addr_size_cells2
|
|
/appendprop[12]
|
|
/appendprop_addrrange
|
|
/asm_tree_dump
|
|
/boot-cpuid
|
|
/char_literal
|
|
/check_full
|
|
/check_header
|
|
/check_path
|
|
/del_node
|
|
/del_property
|
|
/dtbs_equal_ordered
|
|
/dtbs_equal_unordered
|
|
/dtb_reverse
|
|
/dumptrees
|
|
/extra-terminating-null
|
|
/find_property
|
|
/get_alias
|
|
/get_mem_rsv
|
|
/get_name
|
|
/get_path
|
|
/get_phandle
|
|
/getprop
|
|
/get_prop_offset
|
|
/incbin
|
|
/integer-expressions
|
|
/fs_tree1
|
|
/mangle-layout
|
|
/move_and_save
|
|
/node_check_compatible
|
|
/node_offset_by_compatible
|
|
/node_offset_by_phandle
|
|
/node_offset_by_prop_value
|
|
/nop_node
|
|
/nop_property
|
|
/nopulate
|
|
/notfound
|
|
/open_pack
|
|
/overlay
|
|
/overlay_bad_fixup
|
|
/parent_offset
|
|
/path-references
|
|
/path_offset
|
|
/path_offset_aliases
|
|
/phandle_format
|
|
/property_iterate
|
|
/propname_escapes
|
|
/references
|
|
/root_node
|
|
/rw_tree1
|
|
/rw_oom
|
|
/set_name
|
|
/setprop
|
|
/setprop_inplace
|
|
/sized_cells
|
|
/string_escapes
|
|
/stringlist
|
|
/subnode_iterate
|
|
/subnode_offset
|
|
/supernode_atdepth_offset
|
|
/sw_tree1
|
|
/sw_states
|
|
/truncated_property
|
|
/truncated_string
|
|
/truncated_memrsv
|
|
/utilfdt_test
|
|
/value-labels
|