[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#419459: Addning info



severity 419459 important
tag 419459 + confirmed
found 2.3.2.ds1-22sarge6
thanks

Daniel Smolik a écrit :
> Hi,
> I am  100% sure that my  colleague  found fundamentals  of this bug.
> On SPARC linux is used  thread safe version of gethostbyname 
> genthostbyname_r. This function have third argument char buffer. But if 
> this buffer is not correctly aligned (on SPARC / 4 ) program crashed 
> with BUSS ERROR. I attach demonstrate program to test this issue. If you 
> change  size of buffer from 1002 to 1000 program start working.
> I mean  that simple workaround on SPARC is not use gethostbyname_r.
> 

I confirm the bug, it is even present on Sarge. Strangely it is not
present on mips.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: