mirror of
https://github.com/php/php-src.git
synced 2024-09-23 19:07:26 +00:00
Fixed bug #60947 (Segmentation fault while executing ibase_db_info)
This commit is contained in:
parent
283accdf15
commit
632825a4ff
@ -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