File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ The extension allows you to execute Javascript code in a secure sandbox from PHP
12
12
can be restricted using a time limit and/or memory limit. This provides the possibility to execute
13
13
untrusted code with confidence.
14
14
15
- If you execute untrusted JavaScript code, make sure to ** use V8 version 6.4.388.18 or higher** .
15
+ If you execute untrusted JavaScript code, make sure to ** use V8 version 6.4.388.18, 6.5.143 or higher** .
16
16
See notes on [ untrusted code mitigations] ( https://github.com/v8/v8/wiki/Untrusted-code-mitigations )
17
17
for further details.
18
18
Original file line number Diff line number Diff line change @@ -147,6 +147,9 @@ int main ()
147
147
if test "$V8_API_VERSION" -lt 6004388 ; then
148
148
AC_MSG_WARN ( [ libv8 prior to 6.4.388.18 is missing speculative execution mitigations] )
149
149
fi
150
+ if test "$V8_API_VERSION" -ge 6005000 -a "$V8_API_VERSION" -lt 6005143 ; then
151
+ AC_MSG_WARN ( [ libv8 6.5.x prior to 6.5.143 is missing speculative execution mitigations] )
152
+ fi
150
153
AC_DEFINE_UNQUOTED ( [ PHP_V8_API_VERSION] , $V8_API_VERSION , [ ] )
151
154
AC_DEFINE_UNQUOTED ( [ PHP_V8_VERSION] , "$ac_cv_v8_version" , [ ] )
152
155
else
You can’t perform that action at this time.
0 commit comments