[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 4fd270: Avoid rewriting PHP stack frames
michal at cihar.com
Mon Jun 6 13:55:10 CEST 2016
Author: Michal Čihař <michal at cihar.com>
Date: 2016-06-06 (Mon, 06 Jun 2016)
Avoid rewriting PHP stack frames
Surprisingly PHP stack frames are passed as references to the error
handling code, thus changing value there leads to changing value in the
With MySQL issuing warning about incompatible version (different runtime
library than compile time), handling this warning rewrites current stack
frame and the mysql_real_connect later sees parameters as processed by
Error class for display.
We now create copy of the stacktrace to avoid this.
Signed-off-by: Michal Čihař <michal at cihar.com>
More information about the Git