summaryrefslogtreecommitdiffstats
path: root/fs/file.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-11-25 14:00:38 +0100
committerSteve French <smfrench@gmail.com>2012-12-05 20:13:11 +0100
commitee13b2ba7488475b47ae8dab2eebc4f5fd6838c5 (patch)
treeb31668b5c4864ad620496b098efc61f407328e2f /fs/file.c
parentcifs: redefine NUM_SUBAUTH constant from 5 to 15 (diff)
downloadlinux-ee13b2ba7488475b47ae8dab2eebc4f5fd6838c5.tar.xz
linux-ee13b2ba7488475b47ae8dab2eebc4f5fd6838c5.zip
cifs: fix the format specifiers in sid_to_str
The format specifiers are for signed values, but these are unsigned. Given that '-' is a delimiter between fields, I don't think you'd get what you'd expect if you got a value here that would overflow the sign bit. The version and authority fields are 8 bit values so use a "hh" length modifier there. The subauths are 32 bit values, so there's no need to use a "l" length modifier there. Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com> Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions