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/

Thanks,
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to