[Date Prev][Date Next]
Re: (ITS#5264) invalid printf of NULL
Aaron Richton wrote:
> "./run test044" is sufficient to reproduce 100% of the time. Maybe the
> behavior's changed in S10 (or maybe gcc does some wrapping, I don't know)
> but printf("%s", NULL) has been an instant SEGV in Sol9 as long as I can
>>> (dbx) print assertDN->bv_val
>>> assertDN->bv_val = (nil)
>>> don't do that...
As I suspected, there's more wrong here than a bad printf argument. The
assertDN should never be NULL.
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/