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

Pavel Emelyanov xemul at parallels.com
Tue Mar 11 11:25:25 PDT 2014


On 03/11/2014 10:22 PM, Cyrill Gorcunov wrote:
> 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.

It should be in zdtm.sh keys and Jenkins' scripts.
Andrey?


More information about the CRIU mailing list