]> granicus.if.org Git - php/commit
- Fixed bug #54055 (buffer overrun with high values for precision ini
authorGustavo André dos Santos Lopes <cataphract@php.net>
Mon, 21 Feb 2011 06:53:24 +0000 (06:53 +0000)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Mon, 21 Feb 2011 06:53:24 +0000 (06:53 +0000)
commit2a6968e43ae4dc6b91c44f59daa94b3a2b26fd51
tree1e78200fc3e0fc0d32e11987fe223a803568166a
parentb21f62eb2d833bd435a13289a85e29c559ee9d74
- Fixed bug #54055 (buffer overrun with high values for precision ini
  setting).
#This fix (for g/G/k/H modes) is done at a different level than that for the
#modes e/E/f/F, at a bit higher level and therefore with less coverage. I
#chose this because it addresses the problem where it is -- the calling function
#that passes a buffer too small to php_gcvt.
ext/standard/tests/strings/bug54055.phpt [new file with mode: 0644]
main/snprintf.c
main/snprintf.h
main/spprintf.c