[PATCH] s3-lib: fix segf while reading incomplete session info (bug #10003)
Andreas Schneider
asn at samba.org
Fri Jul 12 02:35:18 MDT 2013
On Tuesday 09 July 2013 18:09:40 Bjoern Baumbach wrote:
> Hi!
>
> I've an additional patch for smbstatus, that completes the set of patches.
>
> Without the attached patch I get process listing like:
> PID Username Group Machine
> -------------------------------------------------------------------
> 8090 root root laila
> 8126 4294967295 -1 laila
> 8103 4294967295 -1 laila
>
> The attached patch checks if the uid or gid is -1 and uses "-1" for
> displaying the names/ids.
> Without the patch we're trying to print -1 as unsigned int.
Hi,
both look fine to me.
Reviewed-by: Andreas Schneider <asn at samba.org>
--
Andreas Schneider GPG-ID: F33E3FC6
Samba Team asn at samba.org
www.samba.org
More information about the samba-technical
mailing list