The Samba-Bugzilla – Attachment 4660 Details for
Bug 6690
Checking wrong variable for return value of shmat(), error slips past: profile_p vs. profile_h
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 3.4
0001-s3-smbd-Fix-bug-6690-wrong-error-check.patch (text/plain), 844 bytes, created by
Volker Lendecke
on 2009-09-08 10:49:52 UTC
(
hide
)
Description:
patch for 3.4
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2009-09-08 10:49:52 UTC
Size:
844 bytes
patch
obsolete
>From 38b96d56daedd0fdb79f3b9caf1cb5ff7407fd2c Mon Sep 17 00:00:00 2001 >From: Andrew Klosterman <andrew.klosterman+samba_bugzilla@gmail.com> >Date: Tue, 8 Sep 2009 17:38:37 +0200 >Subject: [PATCH] s3:smbd: Fix bug 6690, wrong error check > >--- > source3/profile/profile.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source3/profile/profile.c b/source3/profile/profile.c >index 6d2d5ae..61b0a7c 100644 >--- a/source3/profile/profile.c >+++ b/source3/profile/profile.c >@@ -227,7 +227,7 @@ bool profile_setup(struct messaging_context *msg_ctx, bool rdonly) > > profile_h = (struct profile_header *)shmat(shm_id, 0, > read_only?SHM_RDONLY:0); >- if ((long)profile_p == -1) { >+ if ((long)profile_h == -1) { > DEBUG(0,("Can't attach to IPC area. Error was %s\n", > strerror(errno))); > return False; >-- >1.6.0.4 >
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
Actions:
View
Attachments on
bug 6690
: 4660 |
4661