Skip to content
Snippets Groups Projects
Commit dbd4c703 authored by pompolic's avatar pompolic
Browse files

Fix UAF in gethash()

- Buffer returned by strtok() gets freed up by the next time it's called, so we need to strncpy() the contents out
- changed strcpy() to strncpy()
parent 75541379
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment