Skip to content

Commit 61cf135

Browse files
committed
Remove class validation. zend_lookup_class_ex() performs it anyway.
1 parent ac7e967 commit 61cf135

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ext/standard/var_unserializer.re

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,12 +1171,6 @@ object ":" uiv ":" ["] {
11711171
break;
11721172
}
11731173

1174-
if (!zend_is_valid_class_name(class_name)) {
1175-
zend_string_release_ex(lc_name, 0);
1176-
zend_string_release_ex(class_name, 0);
1177-
return 0;
1178-
}
1179-
11801174
/* Try to find class directly */
11811175
BG(serialize_lock)++;
11821176
ce = zend_lookup_class_ex(class_name, lc_name, 0);

0 commit comments

Comments
 (0)