Re: [PATCH] r128: Add test for initialisation to all ioctls that require it

2009-08-30 Thread Dave Airlie
> Almost all r128's private ioctls require that the CCE state has > already been initialised. However, most do not test that this has > been done, and will proceed to dereference a null pointer. This may > result in a security vulnerability, since some ioctls are > unprivileged. > > This adds a

[PATCH] r128: Add test for initialisation to all ioctls that require it

2009-08-23 Thread Ben Hutchings
Almost all r128's private ioctls require that the CCE state has already been initialised. However, most do not test that this has been done, and will proceed to dereference a null pointer. This may result in a security vulnerability, since some ioctls are unprivileged. This adds a macro for the