Commit 383fcb3
BRANDON KIRSCH
php_odbc_fetch_hash() Fixed a segfault when fetching certain SQL NULLs
php_odbc.c:1774 Changed the conditional to include the check:
&& Z_TYPE_P(tmp) == IS_STRING
This avoids a potential segfault on 1775 where ZSTR_ macros are used
when the ZVAL is sometimes NULL.1 parent d0d978b commit 383fcb3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1771 | 1771 | | |
1772 | 1772 | | |
1773 | 1773 | | |
1774 | | - | |
| 1774 | + | |
1775 | 1775 | | |
1776 | 1776 | | |
1777 | 1777 | | |
| |||
0 commit comments