Possible null pointer refrence in v3-0-test and v3-2-test

James Peach jorgar at gmail.com
Wed Jun 4 05:19:47 GMT 2008


2008/6/3 Jeremy Allison <jra at samba.org>:
> On Tue, Jun 03, 2008 at 04:58:30PM -0700, James Peach wrote:
>>
>> I've seen cases where it looks like the usershare loading code can
>> return a bogusly large snum, which results on lp_foo(snum, ...)
>> returning NULL. Bad things happen from there.
>>
>> I haven't reliably reproduced this or tracked it down ....
>
> Bugger, that's my code :-(.

and mine .. I have a relatively large patch to the usershare feature.

> Ok, you've got to do better than this in reporting :-).

I spent all day in gdb with no symbols, which was the very definition
of no fun. I can probably dig up a stack trace from my notes, but it's
no more informative that the description above :(

-- 
James Peach | jorgar at gmail.com


More information about the samba-technical mailing list