1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 15:08:16 +02:00

Patch from the upstream git

https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)

Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org>
This commit is contained in:
Remi Collet
2017-05-30 15:40:32 +02:00
parent 27a743b82b
commit 703be4f77e
+3 -1
View File
@@ -4068,7 +4068,9 @@ next_state_class(CClassNode* cc, OnigCodePoint* vs, enum CCVALTYPE* type,
}
}
*state = CCS_VALUE;
if (*state != CCS_START)
*state = CCS_VALUE;
*type = CCV_CLASS;
return 0;
}