Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:RISCV
perl-Image-Size
Image-Size-3.300_Fix_JPEG_00_Markers.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Image-Size-3.300_Fix_JPEG_00_Markers.patch of Package perl-Image-Size
diff -ur Image-Size-3.300/lib/Image/Size.pm Image-Size-3.300_fix/lib/Image/Size.pm --- Image-Size-3.300/lib/Image/Size.pm 2015-02-28 18:00:55.000000000 +0100 +++ Image-Size-3.300_fix/lib/Image/Size.pm 2021-03-01 11:17:29.058012588 +0100 @@ -604,6 +604,7 @@ my $stream = shift; my $MARKER = chr 0xff; # Section marker + my $MARKER2 = chr 0x00; # some sections also use 0x00 my $SIZE_FIRST = 0xC0; # Range of segment identifier codes my $SIZE_LAST = 0xC3; # that hold size info. @@ -630,7 +631,7 @@ $length = unpack 'n', $segheader; # Verify that it's a valid segment. - if ($marker ne $MARKER) + if ($marker ne $MARKER && $marker ne $MARKER2) { # Was it there? $id = 'JPEG marker not found';
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor