-
-
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
Missing bounds check in array slicing #20987
Comments
arnetheduck
added a commit
to status-im/nimcrypto
that referenced
this issue
Dec 1, 2022
cheatfate
pushed a commit
to cheatfate/nimcrypto
that referenced
this issue
Jan 9, 2023
!nim c var v: array[1, byte]
var p = cast[ptr array[0, byte]](addr v)
echo toOpenArray(p[], 1, 2) |
@juancarlospaco (contributor) devel :+1: OKOutput
Stats
stable :+1: OKOutput
Stats
1.6.0 :+1: OKOutput
Stats
1.4.0 :+1: OKOutput
Stats
1.2.0 :+1: OKOutput
Stats
1.0.0 :+1: OKOutput
Stats
0.20.2 :+1: OKOutput
Stats
54 minutes bisecting 7 commits at 0 commits per second.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
this should obviously cause defect but doesn't, neither at compile nor at runtime
Nim Version
1.6.8, devel
Current Output
No response
Expected Output
No response
Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: