Browse Source

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

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@143 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.1
Xuefer 15 years ago
parent
commit
9c3e3d9e8b
  1. 4
      xcache.c

4
xcache.c

@ -1809,7 +1809,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;
@ -1970,7 +1970,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