Subject: malloc and printf() Qs.
To: None <>
From: Cherry G. Mathew <>
List: tech-userlevel
Date: 04/15/2007 22:31:32

So I recently moved a buggy userland program that was running fine on
-current to Linux, which proceeded to SIGSEGV. I traced it down to
overflowing sprintfs() into (consecutive) malloc()ed buffers. I'm a
bit shocked that it didn't tell me about it on NetBSD. Is this by
design ?