diff options
author | Jason Greene <jason@php.net> | 2002-07-16 14:14:22 +0000 |
---|---|---|
committer | Jason Greene <jason@php.net> | 2002-07-16 14:14:22 +0000 |
commit | 9b68acb7f724e4399bcbde72b8b2aaa85e2a1e43 (patch) | |
tree | 8f010b1bbecf2cbef3db2477652fd0da062e0cbd /ext/mysql/php_mysql.c | |
parent | 950a576f73eb8f658138da3f06f6ca874d1857fc (diff) | |
download | php-git-9b68acb7f724e4399bcbde72b8b2aaa85e2a1e43.tar.gz |
@Fixed infinite recursion crash bug in ticks (Jason)
Prevent reenterant calls to a user tick function by flagging the function
entry during call.
This prevents code like the following from infinitely recursing until a
crash occurs:
<?php
register_tick_function(a);
declare(ticks=1) {
function a() {
print "blah\n";
}
;
;
;
;
}
?>
Diffstat (limited to 'ext/mysql/php_mysql.c')
0 files changed, 0 insertions, 0 deletions