php_error_docref(NULL,E_WARNING,"IV passed is only %d bytes long, cipher expects an IV of precisely %d bytes, padding with \\0",*piv_len,iv_required_len);
php_error_docref(NULL,E_WARNING,"IV passed is only %zd bytes long, cipher expects an IV of precisely %zd bytes, padding with \\0",*piv_len,iv_required_len);
memcpy(iv_new,*piv,*piv_len);
*piv_len=iv_required_len;
*piv=iv_new;
return1;
}
php_error_docref(NULL,E_WARNING,"IV passed is %d bytes long which is longer than the %d expected by selected cipher, truncating",*piv_len,iv_required_len);
php_error_docref(NULL,E_WARNING,"IV passed is %zd bytes long which is longer than the %zd expected by selected cipher, truncating",*piv_len,iv_required_len);
@ -158,7 +164,7 @@ static int phpdbg_arm_auto_global(zval *ptrzv) {
if(auto_global->armed){
if(PHPDBG_G(flags)&PHPDBG_IN_SIGNAL_HANDLER){
phpdbg_notice("variableinfo","unreachable=\"%.*s\"","Cannot show information about superglobal variable %.*s",ZSTR_LEN(auto_global->name),ZSTR_VAL(auto_global->name));
phpdbg_notice("variableinfo","unreachable=\"%.*s\"","Cannot show information about superglobal variable %.*s",(int)ZSTR_LEN(auto_global->name),ZSTR_VAL(auto_global->name));
phpdbg_error("exception","name=\"%s\" file=\"%s\" line=\""ZEND_LONG_FMT"\"","Uncaught %s in %s on line "ZEND_LONG_FMT": %.*s",ZSTR_VAL(exception->ce->name),ZSTR_VAL(file),line,ZSTR_LEN(msg)<80?ZSTR_LEN(msg):80,ZSTR_VAL(msg));
phpdbg_notice("wait","missingmodule=\"%.*s\"","The module %.*s isn't present in "PHPDBG_NAME", you still can load via dl /path/to/module/%.*s.so",Z_STRLEN_P(module),Z_STRVAL_P(module),Z_STRLEN_P(module),Z_STRVAL_P(module));
phpdbg_notice("wait","missingmodule=\"%.*s\"","The module %.*s isn't present in "PHPDBG_NAME", you still can load via dl /path/to/module/%.*s.so",(int)Z_STRLEN_P(module),Z_STRVAL_P(module),(int)Z_STRLEN_P(module),Z_STRVAL_P(module));
}
}
}while(module);
@ -292,7 +292,7 @@ void phpdbg_webdata_decompress(char *msg, int len) {
ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(zvp),name){
if(Z_TYPE_P(name)==IS_STRING){
phpdbg_notice("wait","missingextension=\"%.*s\"","The Zend extension %.*s isn't present in "PHPDBG_NAME", you still can load via dl /path/to/extension.so",Z_STRLEN_P(name),Z_STRVAL_P(name));
phpdbg_notice("wait","missingextension=\"%.*s\"","The Zend extension %.*s isn't present in "PHPDBG_NAME", you still can load via dl /path/to/extension.so",(int)Z_STRLEN_P(name),Z_STRVAL_P(name));