[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-cifs-client
Subject: [linux-cifs-client] fs/cifs/cifsacl.c: check-after-use
From: Adrian Bunk <bunk () kernel ! org>
Date: 2007-11-24 17:16:31
Message-ID: 20071124171631.GA6835 () stusta ! de
[Download RAW message or body]
The Coverity checker spotted the following check-after-use in
fs/cifs/cifsacl.c:
<-- snip -->
...
static void parse_dacl(struct cifs_acl *pdacl, char *end_of_acl,
struct cifs_sid *pownersid, struct cifs_sid *pgrpsid,
struct inode *inode)
{
...
if (end_of_acl < (char *)pdacl + le16_to_cpu(pdacl->size)) {
... ^^^^^^^^^^^
if (!pdacl) {
...
<-- snip -->
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
_______________________________________________
linux-cifs-client mailing list
linux-cifs-client@lists.samba.org
https://lists.samba.org/mailman/listinfo/linux-cifs-client
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic