You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[PR 4793](https://github.com/cloudflare/workerd/pull/4793): OOB write in writeSync due to missing bounds check
253
+
-[PR 4845](https://github.com/cloudflare/workerd/pull/4845): UAF in VFS file clone handling
254
+
-[PR 4828](https://github.com/cloudflare/workerd/pull/4828): Segmentation fault on undefined keys in DH crypto API.
255
+
-[PR 4853](https://github.com/cloudflare/workerd/pull/4853): Workerd hits illegal instruction due to missing branch in FileSystemModule::setLastModified.
256
+
251
257
## Disclaimer
252
258
253
259
This is not an officially supported Google product.
// Verify that rejected promises are properly reset between executions
81
+
// Only if async functions are available
94
82
ifexecute("async function foo() {}").status ==0{
95
83
expect_failure("async function fail() { throw 42; }; fail()")
96
84
expect_success("42")
@@ -101,19 +89,17 @@ func runREPRLTests() {
101
89
if numFailures ==0{
102
90
print("All tests passed!")
103
91
}else{
104
-
print("Not all tests passed. REPRL support may not be properly implemented.")
92
+
print("Not all tests passed. That means REPRL support likely isn't properly implemented in the target engine")
105
93
}
106
94
}
107
95
108
-
print("Checking if REPRL works...")
96
+
// Check whether REPRL works at all
109
97
ifexecute("").status !=0{
110
-
print("Initial script execution failed, REPRL support does not appear to be working")
111
-
printREPRLOutput(ctx)
98
+
print("Script execution failed, REPRL support does not appear to be working")
112
99
exit(1)
113
-
}else{
114
-
print("Initial REPRL check passed.")
115
100
}
116
101
102
+
// Run a couple of tests now
117
103
runREPRLTests()
118
104
119
105
print("Enter code to run, then hit enter to execute it")
@@ -124,15 +110,15 @@ while true {
124
110
break
125
111
}
126
112
127
-
print("Executing user input code...")
128
113
let(status, exec_time)=execute(code)
129
114
130
115
if status <0{
131
116
print("Error during script execution: \(String(cString:reprl_get_last_error(ctx))). REPRL support in the target probably isn't working correctly...")
132
-
printREPRLOutput(ctx)
133
117
continue
134
118
}
135
119
136
120
print("Execution finished with status \(status) (signaled: \(RIFSIGNALED(status)!=0), timed out: \(RIFTIMEDOUT(status)!=0)) and took \(exec_time /1000)ms")
0 commit comments