git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12570
a1ca3aef-8c08-0410-bb20-
df032aa958be
- Restored missing generic printer icon file (STR #4587)
- Fixed logging of configuration errors to show up as errors (STR #4582)
- - Fixed buffer overflow in rastertopwg (STR #4598)
+ - Fixed potential buffer overflows in raster code and filters
+ (STR #4598, STR #4599)
- Added Russian translation (STR #4577)
*/
count = r->header.cupsBytesPerLine * 2;
+ if (count < 3)
+ count = 3;
+
if ((size_t)count > r->bufsize)
{
if (r->buffer)