Skip to content

Fixes for reading malformed/truncated PAM files#532

Merged
jonsneyers merged 1 commit intoFLIF-hub:masterfrom
d11mshepcar:fix-pam-reader
Sep 3, 2021
Merged

Fixes for reading malformed/truncated PAM files#532
jonsneyers merged 1 commit intoFLIF-hub:masterfrom
d11mshepcar:fix-pam-reader

Conversation

@d11mshepcar
Copy link
Copy Markdown
Contributor

I've fixed two problems in the PAM reader relating to reading past EOF and reading pixel values outside of the maximum range. This fixes issue #513

@charmander
Copy link
Copy Markdown

Indentation appears to be spaces.

@d11mshepcar
Copy link
Copy Markdown
Contributor Author

Indentation appears to be spaces.

The formatting is all over the place anyway but I've updated my commit to be in line with surrounding code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants