Skip to content

Safe deserialization of bitmaps - #126

Merged
Ezibenroc merged 8 commits into
masterfrom
issue124
Apr 11, 2025
Merged

Safe deserialization of bitmaps#126
Ezibenroc merged 8 commits into
masterfrom
issue124

Conversation

@Ezibenroc

Copy link
Copy Markdown
Owner

This pull-request changes the implementation of methods deserialize of all the bitmap classes to be safer. Prior to this change, a wrong input (e.g. some random bytes) could cause a segmentation fault. Now, the exception ValueError is raised.

This PR includes the commits from #125, it fixes #124

@Ezibenroc
Ezibenroc merged commit 1be6bfe into master Apr 11, 2025
@Ezibenroc
Ezibenroc deleted the issue124 branch April 11, 2025 06:59
@Ezibenroc Ezibenroc mentioned this pull request Apr 11, 2025
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.

Segmentation fault when deserializing malformed data

2 participants