[PATCH] Fix bug #9471 - SEGV when using second vfs module.

Michael Adam obnox at samba.org
Thu Dec 6 16:33:46 MST 2012


On 2012-12-06 at 13:43 -0800, Jeremy Allison wrote:
> Can I get a second Team member review so I can push this one ?
> It's a pretty obvious fix IMHO.

ACK.

Jeremy, if you would, please add my
"Reviewed-by: Michael Adam <obnox at samba.org>"

and push..

Cheers - Michael

> Thanks,
> 
> 	Jeremy.

> >From ba2a7392bd3a18731f163e93c02e129dbd6fba2f Mon Sep 17 00:00:00 2001
> From: Tsukasa Hamano <hamano at osstech.co.jp>
> Date: Thu, 6 Dec 2012 13:01:33 -0800
> Subject: [PATCH] Fix bug #9471 - SEGV when using second vfs module.
> 
> Don't use default_classname_table when we obviously shoud be using
> classname_table.
> 
> Reviewed by: Jeremy Allison <jra at samba.org>
> ---
>  lib/util/debug.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/lib/util/debug.c b/lib/util/debug.c
> index 15a2452b..7509f90 100644
> --- a/lib/util/debug.c
> +++ b/lib/util/debug.c
> @@ -1007,7 +1007,7 @@ bool dbghdrclass(int level, int cls, const char *location, const char *func)
>  			slprintf(header_str + hs_len,
>  				 sizeof(header_str) -1 - hs_len,
>  				 ", class=%s",
> -				 default_classname_table[cls]);
> +				 classname_table[cls]);
>  		}
>  
>  		/* Print it all out at once to prevent split syslog output. */
> -- 
> 1.7.7.3
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 206 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20121207/51c0ac82/attachment.pgp>


More information about the samba-technical mailing list