Patch yaf-2.1.9.patch for yaf Bug #61493
Patch version 2012-03-23 16:30 UTC
Return to Bug #61493 |
Download this patch
Patch Revisions:
Developer: littlemiaor@gmail.com
diff -ar -U 0 yaf-2.1.9/configs/simple.c yaf-2.1.9-patch/configs/simple.c
--- yaf-2.1.9/configs/simple.c 2012-03-20 18:37:45.000000000 +0800
+++ yaf-2.1.9-patch/configs/simple.c 2012-03-23 22:29:26.472539640 +0800
@@ -202 +202 @@
- if (Z_BVAL_P(readonly)) {
+ if (!Z_BVAL_P(readonly)) {
@@ -214 +214 @@
- if (zend_hash_del(Z_ARRVAL_P(props), Z_STRVAL_P(name), Z_STRLEN_P(name)) == SUCCESS) {
+ if (zend_hash_del(Z_ARRVAL_P(props), Z_STRVAL_P(name), Z_STRLEN_P(name) + 1) == SUCCESS) {
|