On Wed, 2005-09-28 at 09:05 -0600, Tom Tromey wrote:
> I checked in a hack to work around a buffer overflow I was seeing on
> PPC64.  See this patch and PR:
> 
> 2005-09-15  Tom Tromey  <[EMAIL PROTECTED]>
> 
>       Workaround for PR classpath/23863:
>       * native/fdlibm/mprec.h (MAX_BIGNUM_WDS): Define as 128 on
>       non-Pack_32 platforms.

That really fixes the problem.

> 
> I think a better solution would be to find a newer version of the
> mprec code and import it.  I have seen versions of it out there that
> dynamically allocate buffers.

Would be cool, never saw any, though.

> 
> Also there is this PR
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24035
> 
> It has a patch but I don't like it much, as it assumes that an 'int'
> is 32 bits.

Yes, that's not my favorite too.

TWISTI



_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to