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 upAudit ImageData code #15823
Open
Audit ImageData code #15823
Labels
Comments
|
Hey, is it ok if I try to do this one? I'd have to ask you a few clarifying questions, but I think I can handle it, even though I'm a beginner in Rust. |
|
I looked into it myself, but I was wondering if there was a particular reason that |
|
@lucantrop Probably because the particular caller that needed the size worked best in those units. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Things such as
let len = width * height * 4;without any explicit overflow checking scares me.