Bugs item #897, was opened at 2008-01-09 13:21
You can respond by visiting:
http://sarovar.org/tracker/?func=detail&atid=493&aid=897&group_id=106
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Robert (schlcht)
Assigned to: Nobody (None)
Summary: segfault with empty colorstackinit
Initial Comment:
Here's a segfault:
\edef\x{\pdfcolorstackinit page{}}
X\bye
----------------------------------------------------------------------
Comment By: Heiko Oberdiek (oberdiek)
Date: 2008-01-09 16:22
Message:
Logged In: YES
user_id=1276
The bug is in function colorstackskippagestart(),
Zero length strings are stored as NULL and
strcmp breaks.
Patch: add
if (colstack->page_current == NULL) {
return 0;
}
before the line with strcmp.
Yours sincerely
Heiko