forked from SerenityOS/serenity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibGfx/JPEG: Remove the
ensure_bounds_okay
function
This function has probably been added when we weren't as good with error propagations as we are now. We can safely remove it and let future calls to `read` fail if the file is corrupted. This can be tested with the following bytes (already used in 9191829): ffd8ffc000000800080ef701101200ffda00030100
- Loading branch information
1 parent
402c9e5
commit dc9e783
Showing
1 changed file
with
2 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters