討論串strdup(NULL) supposed to create SIGSEGV?
共 25 篇文章

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者hselasky.時間17年前 (2008/04/24 02:57), 編輯資訊
0
0
2
內容預覽:
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個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者mwm.時間17年前 (2008/04/24 02:54), 編輯資訊
0
0
2
內容預覽:
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個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者mwm.時間17年前 (2008/04/24 02:49), 編輯資訊
0
0
2
內容預覽:
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個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者modelnine.時間17年前 (2008/04/24 02:40), 編輯資訊
0
0
1
內容預覽:
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個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者rdivacky.時間17年前 (2008/04/24 00:28), 編輯資訊
0
0
1
內容預覽:
> 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個字)