[CRIU] [PATCH] fsnotify: Fix nil dereference in pre_dump_one_fanotify

Cyrill Gorcunov gorcunov at gmail.com
Tue Mar 11 11:22:49 PDT 2014


On Tue, Mar 11, 2014 at 10:20:46PM +0400, Pavel Emelyanov wrote:
> On 03/11/2014 12:08 PM, Cyrill Gorcunov wrote:
> > pre_dump_one_fanotify calls for parse_fdinfo_pid_s where
> > fsn_params mut not be NULL, otherwise we get nil dereference.
> > 
> > Fix it by passing a real variable instead.
> > 
> > Reported-by: Pavel Tikhomirov <snorcht at gmail.com>
> > Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> > ---
> 
> Applied.
> Why isn't it caught by any zdtm test?

I suppose we never ran pre-dump action.


More information about the CRIU mailing list