[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
binutils 2.14 - test-demangle - Memory fault - core dumped on SCO 5.0.7
From: |
Mark Gordon |
Subject: |
binutils 2.14 - test-demangle - Memory fault - core dumped on SCO 5.0.7 |
Date: |
Fri, 31 Oct 2003 13:55:05 +0000 |
There is a 1 byte overflow in the getline routine in
libiberty/testsuite/test-demangle.c which is causing a Memory fault to
be reported in SCO 5.0.7 using gcc 3.3.2
# diff test-demangle.c test-demangle.c.std
68c68
< if (count >= alloc-1)
---
> if (count >= alloc)
since it has to stick a null terminator on the end of the string after
it has finished building it.
Mark Gordon
Causeway Technologies Limited
Tel: (+44 (0)1628 552000)
Fax: (+44 (0)1628 552001)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- binutils 2.14 - test-demangle - Memory fault - core dumped on SCO 5.0.7,
Mark Gordon <=