-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
newException terminates msg early from NULL byte, other IO does not #13115
Comments
D-Nice
added a commit
to D-Nice/nbaser
that referenced
this issue
Jan 11, 2020
the fuzzer found that null bytes were cutting off the error msg prematurely. Issue filed regarding this, but in general using the actual representation will help debug any issues rather than unprintable characters. Issue filed regarding the early termination here: nim-lang/Nim#13115
ringabout
added a commit
to ringabout/Nim
that referenced
this issue
Nov 6, 2020
ringabout
added a commit
to ringabout/Nim
that referenced
this issue
Nov 12, 2020
reopening since it doesnt' work for cpp works in js, vm |
Workaround for cpp backend: nim cpp -r -d:noCppExceptions app.nim |
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
Nov 28, 2020
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
Nov 28, 2020
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
Nov 28, 2020
no need for workaround => #16167 |
1 task
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
Dec 1, 2020
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
Dec 2, 2020
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
Dec 3, 2020
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
Dec 3, 2020
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
Dec 3, 2020
…ails for js on openbsd)
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
Dec 4, 2020
…ails for js on openbsd)
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
Dec 4, 2020
…ails for js on openbsd)
mildred
pushed a commit
to mildred/Nim
that referenced
this issue
Jan 11, 2021
* fix nim-lang#13115 * fix testament
mildred
pushed a commit
to mildred/Nim
that referenced
this issue
Jan 11, 2021
…js on openbsd) (nim-lang#16167) * fix partially nim-lang#13115 properly (works for c,js,cpp,vm; still fails for js on openbsd) * address comment: also test with -d:danger, -d:debug
timotheecour
added
OS/Architecture Specific
Javascript
and removed
C++ Code Generation
Severe
labels
Jan 12, 2021
now that #16167 was merged, the only thing remaining is js backend on openbsd; it's due to an upstream nodejs bug that has been patched in more recent nodejs version, ie outside of nim's control; closing for now, feel free to re-open if you disagree |
ardek66
pushed a commit
to ardek66/Nim
that referenced
this issue
Mar 26, 2021
* fix nim-lang#13115 * fix testament
ardek66
pushed a commit
to ardek66/Nim
that referenced
this issue
Mar 26, 2021
…js on openbsd) (nim-lang#16167) * fix partially nim-lang#13115 properly (works for c,js,cpp,vm; still fails for js on openbsd) * address comment: also test with -d:danger, -d:debug
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error output produced by
raise newException
is inconsistent with other IO such asecho
orstdout.write
.Example
Current Output
Expected Output
Additional Information
EDIT:
^@
for NULL char, that may be better assuming it doesn't introduce needless complexity.The text was updated successfully, but these errors were encountered: