[Bug 1233] java.net.Inet4AddressImpl.getLocalHostName() causes SIGBUS error

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Wed Dec 5 08:42:28 PST 2012


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1233

--- Comment #12 from Andrew Haley <aph at redhat.com> ---
(In reply to comment #11)
> > 
> > (In reply to comment #8)
> > > This can be fixed by following the change here.
> > > http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/ab13f19ee0ff
> > 
> > Are you sure?  Do you really have a hostname that is so very long?
> 
> I'm not sure because the hostname is not so long.  Another changes I made on
> Inet4AddressImpl.c to follow the latest version of jdk7 is here:

Ah, yes.  That's the logic which ensures that the buffer is
word-aligned.  Sounds like the correct solution.

Andrew.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20121205/3a355202/attachment.html 


More information about the distro-pkg-dev mailing list