Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
graphics
autotrace
CVE-2022-32323.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2022-32323.patch of Package autotrace
diff --git a/input-bmp.c b/input-bmp.c index c32ed29..222851e 100644 --- a/input-bmp.c +++ b/input-bmp.c @@ -345,6 +345,10 @@ ReadImage (FILE *fd, *(temp++)= buffer[xpos * 4 + 1]; *(temp++)= buffer[xpos * 4]; } + + if (ypos == 0) + break; + --ypos; /* next line */ } } @@ -361,6 +365,10 @@ ReadImage (FILE *fd, *(temp++)= buffer[xpos * 3 + 1]; *(temp++)= buffer[xpos * 3]; } + + if (ypos == 0) + break; + --ypos; /* next line */ } } @@ -378,6 +386,10 @@ ReadImage (FILE *fd, *(temp++)= (unsigned char)(((rgb >> 5) & 0x1f) * 8); *(temp++)= (unsigned char)(((rgb) & 0x1f) * 8); } + + if (ypos == 0) + break; + --ypos; /* next line */ } }
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