[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080319224814.GC19346@sequoia.sous-sol.org>
Date: Wed, 19 Mar 2008 15:48:14 -0700
From: Chris Wright <chrisw@...s-sol.org>
To: "Ahmed S. Darwish" <darwish.07@...il.com>
Cc: Casey Schaufler <casey@...aufler-ca.com>,
akpm <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH BUGFIX -rc5] Smack: Do not dereference NULL ipc object
* Ahmed S. Darwish (darwish.07@...il.com) wrote:
> In the SYSV ipc msgctl(),semctl(),shmctl() family, if the user passed
> *_INFO as the desired operation, no specific object is meant to be
> controlled and only system-wide information is returned. This leads
> to a NULL IPC object in the LSM hooks if the _INFO flag is given.
>
> Avoid dereferencing this NULL pointer in Smack ipc *ctl() methods.
Casey, this looks quite legit to me. Can you ack please.
thanks,
-chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists