summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes/1.7.4.1.txt
diff options
context:
space:
mode:
authorLibravatar Eric Wong <e@80x24.org>2019-10-06 23:30:25 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-10-07 10:20:09 +0900
commit12878c83516e3b82f31a20f1b5431b7ff607a8db (patch)
tree074069d3c740b5745e2bbb3aece81177ad742acf /Documentation/RelNotes/1.7.4.1.txt
parentdiff: use hashmap_entry_init on moved_entry.ent (diff)
downloadtgif-12878c83516e3b82f31a20f1b5431b7ff607a8db.tar.xz
coccicheck: detect hashmap_entry.hash assignment
Assigning hashmap_entry.hash manually leaves hashmap_entry.next uninitialized, which can be dangerous once the hashmap_entry is inserted into a hashmap. Detect those assignments and use hashmap_entry_init, instead. Signed-off-by: Eric Wong <e@80x24.org> Reviewed-by: Derrick Stolee <stolee@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.7.4.1.txt')
0 files changed, 0 insertions, 0 deletions