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()
Loading
Please register or sign in to comment
- 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()