Possible bug in 3.2.7
remy.zandwijk at falw.vu.nl
Fri Jan 16 19:41:27 GMT 2009
>> Since after
>> the if-block, we can't be sure the memory is still allocated. And since
>> 'servername' is used further down the code...
> You're thinking C++, not C. In C it's guarenteed to still be there.
Well, I have to admit, I am not a coder. A colleque of mine however pointed me to:
Specificaly 6.2.1 point 2, 6.2.4 point 2 and 6.2.4 point 5.
Did you check the other places were sizeof() is (possibly wronly) being used?
More information about the samba-technical