Subject: Re: lib/25869: resolver changes make bitkeeper crash
To: None <christos@zoulas.com>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-userlevel
Date: 06/09/2004 09:52:28
> | > Tried this and it works for me:
> | > 
> | > [6:39pm] 73>objdump -x res | grep -w _res
> | > 08049a00 g     O .bss   000001bc _res
> | > [6:39pm] 74>objdump -x /lib/libc.so.12.120 | grep -w _res
> | > 000b5240 g     O .bss   00000200 _res
> | > [6:39pm] 75>./res
> | 
> | coredump or not is not important.
> | you can see what's the problem, can't you?
> 
> that the libc version is 512 bytes and the program's version is 444. But
> that should not matter since the first 440 bytes are the same.
> 
> christos

actually it matters because __res_vinit clobbers the latter part of
the struct.

YAMAMOTO Takashi