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

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

bc: 128 char seg fault.


From: dirk
Subject: bc: 128 char seg fault.
Date: Sun, 21 Jan 2001 10:21:02 -0500 (EST)

Folks,

When using bc version 1.05 that comes packaged with the SuSE 7.0 release, the
code segfaults if a string longer than 127 characters is entered.

address@hidden:~ > bc -l
bc 1.05
Copyright 1991, 1992, 1993, 1994, 1997, 1998 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'. 
1+2+3+4+6+7+8+9+0+1+2+3+4+6+7+8+9+0+1+2+3+4+6+7+8+9+0+1+2+3+4+6+7+8+9+0+1+2+3+4+6+7+8+9+0+1+2+3+4+6+78+9+0+1+2+3+4+6+7+8+9+0+10
Segmentation fault

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. 
-dirk.




reply via email to

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