]> granicus.if.org Git - php/commit
Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)
authorAnthony Ferrara <ircmaxell@ircmaxell.com>
Fri, 29 Jun 2012 00:00:03 +0000 (20:00 -0400)
committerAnthony Ferrara <ircmaxell@ircmaxell.com>
Fri, 29 Jun 2012 00:00:03 +0000 (20:00 -0400)
commit7e8276ca68fc622124d51d18e4f7b5cde3536de4
treea07d17857faef8f3774da07ae53e922eede6301b
parent974324676b2436f159f42d9241c569f813471684
Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)

Fixed a memory allocation bug in crypt() SHA256/512 that can
cause segmentation faults when passed in salts with a null byte
early.
NEWS
ext/standard/crypt.c
ext/standard/tests/strings/bug62443.phpt [new file with mode: 0644]