[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#5264) invalid printf of NULL
"./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
remember...
On Fri, 7 Dec 2007, Howard Chu wrote:
> richton@nbcs.rutgers.edu wrote:
>> Full_Name: Aaron Richton
>> Version: HEAD
>> OS: Solaris 9
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (128.6.31.137)
>
> In a separate email you mentioned that you ran into this problem in
> test044-dynlist. That test passes for me on Solaris 10/sparcv9. How exactly
> did you get this to occur?
>
>> [5] slap_sasl_match(opx = 0x100a32c10, rule = 0x100a363e0, assertDN =
>> 0x7fffffff7927c6c0, authc = 0x7fffffff7927c6c0), line 1668 in "saslauthz.c"
>>
>> 1660 struct berval base = BER_BVNULL;
>> 1661
>> 1662 sm.dn = assertDN;
>> 1663 sm.match = 0;
>> 1664 cb.sc_private = &sm;
>> 1665
>> 1666 Debug( LDAP_DEBUG_TRACE,
>> 1667 "===>slap_sasl_match: comparing DN %s to rule %s\n",
>> 1668 assertDN->bv_val, rule->bv_val, 0 );
>> 1669
>> 1670 /* NOTE: don't normalize rule if authz syntax is enabled */
>>
>> (dbx) print assertDN->bv_val
>> assertDN->bv_val = (nil)
>>
>> don't do that...
>>
>>
>> .
>>
>
>
> --
> -- 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/
>