bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: bc: 128 char seg fault.


From: Gerhard Poul
Subject: Re: bc: 128 char seg fault.
Date: Sun, 21 Jan 2001 05:03:53 -0500
User-agent: Mutt/1.2.5i

> This seems like a simple buffer overflow, and since the program doesn't run
> setuid or anything crazy, it's not dangerous, just thought I'd let you know.
> 
> Same behaviour with version 1.04. 

This problem was fixed in bc-1.06 which was released on Nov 16 2000.  You
can get this version on any GNU ftp mirror in /gnu/bc/bc-1.06.tar.gz.

If your distribution shipped with this old version of bc and was released
after Nov 16 2000 please file a bug report with this distribution.

>From bc-1.06/NEWS:

Changes in bc from 1.05 to 1.06:
    New multiply algoirthm and many other changes in lib/number.c
    Function size now done dynamically.
    Function syntax in non-posix mode allows newlines in more places.
    Bug fixes:
        improved computation of j(n,x).
        enables readline only if interactive.
        for statment bug fixed.
        use int instead of char for readline char counts.
        improved cosine accuracy.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]