-
Notifications
You must be signed in to change notification settings - Fork 457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cupsRasterWritePixels incorrectly returns the size of compressed data #4650
Comments
CUPS.org User: mike Fixed in Subversion repository. |
"str4650.patch": Index: filter/error.c--- filter/error.c (revision 12746)
va_start(ap, f);
bytes ++; if ((size_t)bytes >= sizeof(s)) Index: filter/raster.c--- filter/raster.c (revision 12746)
#ifdef DEBUG
return (total); @@ -1346,8 +1366,8 @@ count = r->header.cupsBytesPerLine * 2;
if ((size_t)count > r->bufsize) if (!wptr)
r->buffer = wptr;
return (cups_raster_io(r, r->buffer, (size_t)(wptr - r->buffer))); @@ -1511,7 +1536,10 @@
return (count); |
Version: 2.0-current
CUPS.org User: mike
cupsRasterWritePixels incorrectly returns the number of compressed bytes written - instead it should be returning the number of uncompressed bytes.
The text was updated successfully, but these errors were encountered: