The smartlist functions take great care to reset unused pointers inside
the smartlist memory to NULL.
The function smartlist_remove_keeporder does not clear memory in such
way when elements have been removed. Therefore call memset after the
for-loop that removes elements. If no element is removed, it is
effectively a no-op.
Trac: Username: paldium
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
Looks good to me. I've put it in a branch called ticket30176, and added a changes file and a comment. For CI purposes I've made a PR at https://github.com/torproject/tor/pull/955 . If CI passes, let's merge.