]> git.tuebingen.mpg.de Git - paraslash.git/commit
Don't use strdup() to copy hash.
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 17 Mar 2020 15:18:22 +0000 (16:18 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Tue, 17 Mar 2020 15:18:22 +0000 (16:18 +0100)
commit92c6b27d3a3fb01cf516be2fa8885d07ca92c9c7
tree3e001f97de4951bcae80c62c35cc070f3aa2988e
parentbfb0f769d96dee610a25682b3b9c4218bc315b31
Don't use strdup() to copy hash.

There was a braino in the previous patch: the hash may well contain
a zero byte, so we need to use memcpy().
aft.c