Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 325246 Details for
Bug 436536
net-irc/xchat-2.8.8-r2 - patches that apply cleanly and fix several issues
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix unchecked malloc
0003-10_fix_unchecked_mallocs.patch.patch (text/plain), 759 bytes, created by
David J Cozatt
on 2012-09-28 20:25:15 UTC
(
hide
)
Description:
fix unchecked malloc
Filename:
MIME Type:
Creator:
David J Cozatt
Created:
2012-09-28 20:25:15 UTC
Size:
759 bytes
patch
obsolete
>From 4e771eacc58c324df498c2c7172b50b8814b0bf8 Mon Sep 17 00:00:00 2001 >From: Paul Wise <pabs3@bonedaddy.net> >Date: Wed, 13 Jun 2012 10:11:44 +0900 >Subject: [PATCH 03/12] 10_fix_unchecked_mallocs.patch > >from debian > >Fix unchecked mallocs throughout the source code. >--- > src/common/xchat.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/src/common/xchat.c b/src/common/xchat.c >index afac9a0..f30ecd4 100644 >--- a/src/common/xchat.c >+++ b/src/common/xchat.c >@@ -349,6 +349,8 @@ session_new (server *serv, char *from, int type, int focus) > session *sess; > > sess = malloc (sizeof (struct session)); >+ if (sess == NULL) >+ return NULL; > memset (sess, 0, sizeof (struct session)); > > sess->server = serv; >-- >1.7.7.5 (Apple Git-26) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 436536
:
325242
|
325244
| 325246 |
325248
|
325250
|
325252
|
325254
|
325256
|
325258
|
325260
|
325262
|
325264
|
325266
|
325268
|
325270
|
325272
|
325274
|
325276