討論串strdup(NULL) supposed to create SIGSEGV?
共 25 篇文章
內容預覽:
Hi,. I recently had to tell someone that "strncpy" does not always zero terminatethe destination string. Surprised by what I was telling they immediat
(還有722個字)
內容預覽:
On Wed, 23 Apr 2008 09:06:44 -0700 (PDT) Simun Mikecin <numisemis@yahoo.com> wrote:. > >If you're going to quote documents to support your ideas, it's
(還有750個字)
內容預覽:
On Wed, 23 Apr 2008 18:26:35 +0200 Roman Divacky <rdivacky@freebsd.org> wrote:. > > I think someone gave the reason I'm about to: trying to copy a NUL
(還有714個字)
內容預覽:
Am Mittwoch, 23. April 2008 18:06:44 schrieb Simun Mikecin:. > >If you're going to quote documents to support your ideas, it's probably. > >better to
(還有2767個字)
內容預覽:
> I think someone gave the reason I'm about to: trying to copy a NULL. > pointer means I have a bug somewhere earlier in my code that will. > eventual
(還有311個字)