]> granicus.if.org Git - php/commit
Fix #46050: odbc_next_result corrupts prepared resource
authorChristoph M. Becker <cmbecker69@gmx.de>
Mon, 5 Oct 2020 15:46:37 +0000 (17:46 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Mon, 5 Oct 2020 15:46:37 +0000 (17:46 +0200)
commit69ba81d183130b06d52ea1cd4574864ffae5dd84
tree58acdf01ecfb752f1f98fc82b009859365098203
parentaa405b7da270595d349d0596ad31305a41d4b1c0
Fix #46050: odbc_next_result corrupts prepared resource

When resetting the result's values, we also have to reset its numcols.
NEWS
ext/odbc/php_odbc.c
ext/odbc/tests/bug46050.phpt [new file with mode: 0644]