diff mbox

/fs/cifs/cifssmb.c (2.6.35.5): Simple pointer initialization

Message ID 945403.85622.qm@web45802.mail.sp1.yahoo.com (mailing list archive)
State New, archived
Headers show

Commit Message

Poyo VL Sept. 26, 2010, 11:05 a.m. UTC
None
diff mbox

Patch

--- a/fs/cifs/cifssmb.c    2010-09-20 23:59:09.000000000 +0300
+++ b/fs/cifs/cifssmb.c    2010-09-26 13:05:45.281241095 +0300
@@ -3079,7 +3079,7 @@  CIFSSMBGetCIFSACL(const int xid, struct
         __u32 parm_len;
         __u32 acl_len;
         struct smb_com_ntransact_rsp *pSMBr;
-        char *pdata;
+        char *pdata = NULL;
 
 /* validate_nttransact */
         rc = validate_ntransact(iov[0].iov_base, (char **)&parm,