From: Kevin Vigor <kvigor@lu...> - 2003-02-21 20:53:07
In the process of hunting for an evil Heisenbug, I have declared war on
strcpy(), strcat(), and sprintf(), all of which can lead to buffer
overflows. They are to be replaced with strncpyz (like strncpy, except that
it guarantees null termination), strncatz (like strncat, but guarantees
null termination, and the length parameter is the length of the underlying
dest buffer, not the number of characters to append), and the macro
SNPRINTF (which is implemented in a safe manner if possible, i.e. if
the host OS has vsnprintf()).
I have not completed the war on buffer overflows, but I reached a good
point for an intermediate checkin, so in it went. There should be no changes
in behavior of the system, but this is a big checkin (with more to come),
so look out for weirdness. You know who to blame if it breaks.
From: Bernhard Held <bernhard@be...> - 2003-02-22 10:38:28
> In the process of hunting for an evil Heisenbug, I have declared war on
> strcpy(), strcat(), and sprintf(), all of which can lead to buffer
From nighlty build:
> configure: warning: CC=gcc: invalid host type
> configure: warning: CXXFLAGS=: invalid host type
The problem is, that you use autoconf-devel 2.54 (sdcpp, sdcc). The other
configure files are built with autoconf-stable 2.13. Unfortunately the
options are incompatible. There are warnings since a couple of days from
configureing sdcpp, but now the nightly build fails.
We must use the same autoconf version for all packages, otherwise the nightly
build and cross compiling will fail!
From: Kevin Vigor <kvigor@lu...> - 2003-02-23 04:42:00
On 22-Feb-2003 Bernhard Held wrote:
> We must use the same autoconf version for all packages, otherwise the
> build and cross compiling will fail!
I upgraded the ucsim & packihz config files to autoconf 2.54; hopefully
this will fix the problem.
Get latest updates about Open Source Projects, Conferences and News.