On 02/14/11 15:51, Danek Duvall wrote:
Coincidentally, two different people today reported

     17886 long attribute values with backslashed-escaped quotes can cause pkg 
to dump core

The behavior used to keep track of the backslash was wonky, and clearly
wrote outside the bounds of an array.  We probably were just getting lucky
for small strings.

This changes the way the backslashes are accounted for to fix the coredump,
and should use a little less memory as well.

The webrev is at

     http://cr.opensolaris.org/~dduvall/pkg-coredump/


This looks correct.  The end of slashmap marker is
cute.... does it deserve a comment?

--
Bart Smaalders                  Solaris Kernel Performance
[email protected]       http://blogs.sun.com/barts
"You will contribute more with Mercurial than with Thunderbird."
"Civilization advances by extending the number of important
 operations which we can perform without thinking about them."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to