The Samba-Bugzilla – Attachment 11816 Details for
Bug 11725
Coverity ID 1351216 Dereference null return value
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for master
bug-11725.v4-4-test.patch (text/plain), 1000 bytes, created by
Michael Adam
on 2016-02-09 00:27:17 UTC
(
hide
)
Description:
Patch for master
Filename:
MIME Type:
Creator:
Michael Adam
Created:
2016-02-09 00:27:17 UTC
Size:
1000 bytes
patch
obsolete
>From 727c30e2cc9e7d4e802565ddcd6207460a7e7bff Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Wed, 3 Feb 2016 09:10:46 +0100 >Subject: [PATCH] smbd: Fix CID 1351216 Dereference null return value > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=11725 > >Signed-off-by: Volker Lendecke <vl@samba.org> >Reviewed-by: Michael Adam <obnox@samba.org> >(cherry picked from commit f1933618500f8c4787f3bf7aa260e21cd6bf7cd8) >--- > source3/smbd/smbXsrv_client.c | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/source3/smbd/smbXsrv_client.c b/source3/smbd/smbXsrv_client.c >index 0b9d8c4..0e21fc6 100644 >--- a/source3/smbd/smbXsrv_client.c >+++ b/source3/smbd/smbXsrv_client.c >@@ -63,6 +63,9 @@ NTSTATUS smbXsrv_client_global_init(void) > * This contains secret information like client keys! > */ > global_path = lock_path("smbXsrv_client_global.tdb"); >+ if (global_path == NULL) { >+ return NT_STATUS_NO_MEMORY; >+ } > > db_ctx = db_open(NULL, global_path, > 0, /* hash_size */ >-- >2.5.0 >
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 Raw
Flags:
obnox
:
review+
vl
:
review+
Actions:
View
Attachments on
bug 11725
: 11816