mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
Fixed bug #60947 (Segmentation fault while executing ibase_db_info)
This commit is contained in:
parent
601d17d1ae
commit
1ef5fa8710
4
NEWS
4
NEWS
@ -29,6 +29,10 @@ PHP NEWS
|
||||
function is by reference). (Nikita Popov)
|
||||
. Fixed bug #51860 (Include fails with toplevel symlink to /). (Dmitry)
|
||||
|
||||
- Ibase
|
||||
. Fixed bug #60947 (Segmentation fault while executing ibase_db_info).
|
||||
(Ilia)
|
||||
|
||||
- Installation
|
||||
. Fixed bug #61172 (Add Apache 2.4 support). (Chris Jones)
|
||||
|
||||
|
@ -321,6 +321,7 @@ query_loop:
|
||||
heap_p = heap_buf + res_size;
|
||||
}
|
||||
result += 2;
|
||||
*(result+line_len) = 0;
|
||||
snprintf(heap_p, heap_buf_size - (heap_buf - heap_p), "%s\n", result);
|
||||
heap_p += line_len +2;
|
||||
goto query_loop; /* repeat until result is exhausted */
|
||||
|
Loading…
Reference in New Issue
Block a user