[EMAIL PROTECTED] (Paul Sauer) writes:

| Hi!
|
| Thanks for the wonderful tools!
|
| You have a an array bounds write in
|
|       cut.c:308
| in
|       textutils-2.0.
|
| On i386 Solaris 2.6, cut dumps core on the attached file if you
| do
|       cut -d" " -f 2- < bugfile.txt
|
| I do not get core dumps on Sparc Solaris or i386 Linux, but the fix is
| simple:
|
|
| 275c275
| <       if (nchars_avail < 1)
| ---
| >       if (nchars_avail < 2)

Thanks!
That is now fixed for the next test release.

I ended up removing cut.c's private copy of getstr
altogether and extending the one in ../lib where that
bug was already fixed.

Reply via email to