diff options
author | Gustavo Lopes <glopes@nebm.ist.utl.pt> | 2012-10-12 20:00:37 +0200 |
---|---|---|
committer | Gustavo Lopes <glopes@nebm.ist.utl.pt> | 2012-10-12 20:23:43 +0200 |
commit | 76601c4fd1052bd46e8db4addb1bb9dd3b001f98 (patch) | |
tree | 05b4c962aa6b5538a4c068b9f156efe2e9808b6c /ext/mysql/php_mysql.c | |
parent | 5020b51d72d3e7ee38f366ef3685ce2c8e9b13c1 (diff) | |
download | php-git-76601c4fd1052bd46e8db4addb1bb9dd3b001f98.tar.gz |
Fix bug #63240 on stream_get_line()
stream_get_line() could contain the delimiter string if that string
had more than one character. The bug manifested itself when a read on
the stream ended with part of the delimiter string and the read after
would start with the rest of the delimiter string; provided that
the data of first read did not complete the max length result of the
call to stream_get_line() with the partial delimiter used in that max
length return. In that case, the delimiter will still appear in
the result, divided in two subsequent return values. That is not a bug.
See <http://www.mail-archive.com/internals@lists.php.net/msg61325.html>
Diffstat (limited to 'ext/mysql/php_mysql.c')
0 files changed, 0 insertions, 0 deletions