My Alpine packages repository.
https://dryabzhinsky.noip.me/packages/en/alpinelinux-support/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
580 B
13 lines
580 B
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c |
|
index ce09c3b..a4af8ad 100644 |
|
--- a/ext/snmp/snmp.c |
|
+++ b/ext/snmp/snmp.c |
|
@@ -533,7 +533,7 @@ static void php_snmp_error(zval *object, const char *docref TSRMLS_DC, int type, |
|
} |
|
|
|
if (object && (snmp_object->exceptions_enabled & type)) { |
|
- zend_throw_exception_ex(php_snmp_exception_ce, type TSRMLS_CC, snmp_object->snmp_errstr); |
|
+ zend_throw_exception_ex(php_snmp_exception_ce, type TSRMLS_CC, "%s", snmp_object->snmp_errstr); |
|
} else { |
|
va_start(args, format); |
|
php_verror(docref, "", E_WARNING, format, args TSRMLS_CC);
|
|
|