diff options
author | Antony Dovgal <tony2001@php.net> | 2004-12-09 08:24:33 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2004-12-09 08:24:33 +0000 |
commit | 6cb74fb8940db65477d0ec7bd51ab2cc96243338 (patch) | |
tree | a8a7587f1698c4b60f4d08dade252b5b67bf39ac | |
parent | c40cb3fce65b4c3a6a53678598e8e9ba0ac7b9dd (diff) | |
download | php-git-6cb74fb8940db65477d0ec7bd51ab2cc96243338.tar.gz |
MFH: buffer overrun & debug printf()
-rw-r--r-- | ext/mysqli/mysqli.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index 96a56ae9dc..41d2f6c274 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -108,7 +108,6 @@ void php_clear_stmt_bind(MY_STMT *stmt) /* {{{ php_clear_mysql */ void php_clear_mysql(MY_MYSQL *mysql) { if (mysql->li_read) { - printf("freeing...\n"); efree(Z_STRVAL_P(mysql->li_read)); FREE_ZVAL(mysql->li_read); mysql->li_read = NULL; @@ -919,12 +918,10 @@ void php_local_infile_end(void *ptr) data= (mysqli_local_infile *)ptr; if (!(mysql = data->userdata)) { - efree(data); return; } php_stream_close(mysql->li_stream); - //efree(data); return; } /* }}} */ |