The Samba-Bugzilla – Attachment 5699 Details for
Bug 7315
mount.cifs segfaults after upgrade to 2.6.33
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch -- check for NULL addr pointer before handling scopeid
0001-mount.cifs-check-for-NULL-addr-pointer-before-handli.patch (text/plain), 837 bytes, created by
Jeff Layton
on 2010-05-12 06:06:33 UTC
(
hide
)
Description:
patch -- check for NULL addr pointer before handling scopeid
Filename:
MIME Type:
Creator:
Jeff Layton
Created:
2010-05-12 06:06:33 UTC
Size:
837 bytes
patch
obsolete
>From 904bc76605df2172e59aa284c2862a7a0421186c Mon Sep 17 00:00:00 2001 >From: Jeff Layton <jlayton@redhat.com> >Date: Wed, 12 May 2010 07:05:10 -0400 >Subject: [PATCH] mount.cifs: check for NULL addr pointer before handling scopeid > >Signed-off-by: Jeff Layton <jlayton@redhat.com> >--- > client/mount.cifs.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/client/mount.cifs.c b/client/mount.cifs.c >index 0b8d5b4..1b472c2 100644 >--- a/client/mount.cifs.c >+++ b/client/mount.cifs.c >@@ -1648,7 +1648,7 @@ mount_retry: > } > } > >- if (addr->ai_addr->sa_family == AF_INET6 && addr6->sin6_scope_id) { >+ if (addr && addr->ai_addr->sa_family == AF_INET6 && addr6->sin6_scope_id) { > strlcat(options, "%", options_size); > current_len = strnlen(options, options_size); > optionstail = options + current_len; >-- >1.6.6.1 >
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:
jlayton
:
review+
jlayton
:
review?
(
sfrench
)
Actions:
View
Attachments on
bug 7315
: 5699