Bugfix for interface.c

Kai Fritzowsky kai at mkm.de
Wed Dec 6 14:46:46 GMT 2000


On Wed, Dec 06, 2000 at 07:53:21AM -0500, Eric Boehm wrote:
> On Wed, Dec 06, 2000 at 11:18:25AM +0100, Kai Fritzowsky wrote:
> >>>>> "Kai" == Kai Fritzowsky <kai at mkm.de> writes:
>     Kai> After applying several patches to a Solaris 7 box, the nmbd died
>     Kai> right after startup.  I tracked the bug down to a memcmp() call in
>     Kai> source/lib/interface.c.  Obviously the call relies on the fact that
>     Kai> the compared structures consist of one single memory block, which is
>     Kai> not true for the patched Solaris 7 libc any more.
> 
>     Kai> My system: # uname -svr SunOS 5.7 Generic_106541-12 # nmbd -V Version
>     Kai> 2.0.7

> Do you know which patch broke things? I have 10 Solaris 7 servers running
> samba and I have not seen this problem.

> I am at the same kernel patch level
> SunOS 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-Enterprise

I applied the 7_Recommended cluster patch which consists of 57 patches
and 11 required patches for Java2:

106300-09  106541-11  106980-10  107153-01  107636-03  109104-01
106327-08  106950-09  107081-20  107544-03  108376-07

I'm not quite sure, but I think it's Patch-ID# 106541-11 since it's
the only one I found with a reference to /usr/lib/libc* among the patches
I installed.

Unfortunately I lost some time tracing the bug and will be out of
office until monday so I can't spend more time on it for now.
Next week I will be able to prove my suspicion if there's further
demand on that.

Kai
-- 
perl -e '@_=(0110,0101|010<<0<<1<<0<<1,1<<1<<1<<0<<1<<1<<1<<0<<1|11*1<<1<<1
,0110|0100>>1|1<<1<<1,111,11*010>>1,010*1<<1<<1,11*010-1,101,(0100<<1)-(010
<<1|010>>1),(11>>1)+111,(1<<1<<1<<1<<1<<1)+1,010+(1<<1));printf"%c"x at _, at _'




More information about the samba mailing list