We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In commit 4709cfc src/codec/codec018.rs:145, the postage stamp is initialised with:
let mut pstamp = Vec::with_capacity(dst_w * dst_h);
It should instead be initialised with:
let mut pstamp = vec![0; dst_w * dst_h];
Vec::with_capacity does not allocate any elements, causing a panic due to index out of range.
The text was updated successfully, but these errors were encountered:
8eaf56c
No branches or pull requests
In commit 4709cfc src/codec/codec018.rs:145,
the postage stamp is initialised with:
It should instead be initialised with:
Vec::with_capacity does not allocate any elements, causing a panic due to
index out of range.
The text was updated successfully, but these errors were encountered: