ryanries / PassFiltEx

PassFiltEx. An Active Directory Password Filter.
GNU General Public License v3.0
264 stars 50 forks source link

Crash on a 0-byte blacklist file #7

Closed allquixotic closed 5 years ago

allquixotic commented 5 years ago

The blacklist dictionary linked list apparently gets corrupted when switching back and forth between a 0-byte dictionary and a non-0-byte dictionary.

Steps to repro:

I wasn't able to isolate where the memory corruption comes from, but it looks like it happens when trying to traverse the linked list to delete the old blacklist.