From patchwork Sun Sep 26 11:05:35 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Poyo VL X-Patchwork-Id: 209912 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8QB8fSY012180 for ; Sun, 26 Sep 2010 11:12:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757441Ab0IZLMS (ORCPT ); Sun, 26 Sep 2010 07:12:18 -0400 Received: from web45802.mail.sp1.yahoo.com ([68.180.199.47]:40721 "HELO web45802.mail.sp1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1756823Ab0IZLMR (ORCPT ); Sun, 26 Sep 2010 07:12:17 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Sun, 26 Sep 2010 11:12:18 +0000 (UTC) X-Greylist: delayed 401 seconds by postgrey-1.27 at vger.kernel.org; Sun, 26 Sep 2010 07:12:17 EDT Received: (qmail 86126 invoked by uid 60001); 26 Sep 2010 11:05:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1285499135; bh=/RkuRJjvYGNvkzHaN0AqtjrnLA+bElFwl5N7KY/u1Ws=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=T27a8WvmaqoJgStt4saJ7SEFEzvD3Qvdl0t9seZp/Hcyvd4zN9gaHzUUTlGJvDx4bA3SoDkaK3a0kPmBn9lT/Qb95HFSakJMQU9r/S1ibyae+cgIijqXmJZ7XqxPGsKu0V7EajG2aUhuvMV14U8+k9InRouzdaHv4JDQJfnyAZg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=3GeFBDRHn9stcybsf0R1HfG+TgQPQlLLyOq9boOI/rfb2NQmhLL3SY3ypooIlvieVQtId3mDghWdJCECgiOoeN/ZFcgENTzpo1TXgIjXGL3Ax31pGgH2gRfT7H8+9Qz/mNUvIsf8VGQPvDBHWNQUFujoe1HmFTpX58vTArytVY0=; Message-ID: <945403.85622.qm@web45802.mail.sp1.yahoo.com> X-YMail-OSG: dAhlGnUVM1m.mkyXK16CU.TReXuMHwKZ5LFnZ9cy1h_3uEP YCP0U2e5PIpTmgMYVn81x_Q00xW4Ao35mmkfoqdGvyW5HoiVqYMobTkVZnVY W_n4VqluO3cGKzEww3mg3lK4mPlTZ.KtpAdlbxN4VbUQAubkXgh0Pu0tsuMT Rd2o4zSkrJNSoGNMs37dtZjZIaCiHXPwcBFGFFodJ8ZYzotX.OcMIYRp0YJF RNiWRjuypYGC9crdj8DFA4c_6kfd2ZpoH4V6euIeRVfS8UxNFw3GEB3ouZRR PcWkP Received: from [86.126.122.31] by web45802.mail.sp1.yahoo.com via HTTP; Sun, 26 Sep 2010 04:05:35 PDT X-Mailer: YahooMailRC/497 YahooMailWebService/0.8.105.279950 Date: Sun, 26 Sep 2010 04:05:35 -0700 (PDT) From: Poyo VL Subject: [PATCH] /fs/cifs/cifssmb.c (2.6.35.5): Simple pointer initialization To: Steve French Cc: linux-cifs@vger.kernel.org, samba-technical@lists.samba.org MIME-Version: 1.0 Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org --- 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,