1
0
Fork 0

fixed string parameter parsing arg type for disassembler functions. thanks to Nuno Lopes' check_parameters.php

git-svn-id: svn://svn.lighttpd.net/xcache/branches/1.0@143 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.0
Xuefer 17 years ago
parent 68279dc12c
commit a709a800e6

@ -1515,7 +1515,7 @@ PHP_FUNCTION(xcache_asm)
PHP_FUNCTION(xcache_dasm_file)
{
char *filename;
long filename_len;
int filename_len;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
return;
@ -1676,7 +1676,7 @@ PHP_FUNCTION(xcache_coredump)
PHP_FUNCTION(xcache_is_autoglobal)
{
char *name;
long name_len;
int name_len;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
return;

Loading…
Cancel
Save