[PATCH 2/8] sysvshm: report error on failure to reattach, avoid crash
matthltc at us.ibm.com
Tue Sep 14 20:04:51 PDT 2010
On Tue, Sep 14, 2010 at 07:55:03PM -0700, Matt Helsley wrote:
> On Tue, Sep 14, 2010 at 03:02:04PM -0500, Nathan Lynch wrote:
> > If ipcshm_restore fails to look up the file object for the region
> > being restored, it should return the error to its caller and not
> > proceed to dereference the file pointer.
> > Signed-off-by: Nathan Lynch <ntl at pobox.com>
> (Important fix. Adding Oren to Cc)
Argh. I was so busy verifying that __must_check didn't warn about the
bug that I neglected to do this. Sorry for the noise! Oren please have
a look at this thread.
More information about the Containers