Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upNon-null terminated strings are being passed to CompileOptionsWrapper::new #27355
Comments
|
Filed servo/rust-mozjs#518 about preventing this in the future. |
bors-servo
added a commit
that referenced
this issue
Jul 22, 2020
bors-servo
added a commit
that referenced
this issue
Jul 22, 2020
bors-servo
added a commit
that referenced
this issue
Jul 22, 2020
bors-servo
added a commit
that referenced
this issue
Jul 22, 2020
bors-servo
added a commit
that referenced
this issue
Jul 22, 2020
bors-servo
added a commit
that referenced
this issue
Jul 23, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
servo/components/script/dom/htmlscriptelement.rs
Line 428 in a242913
We need to convert the rust string into a CString before passing the pointer to it.