[CRIU] [PATCH 4/7] fsnotify: inotify -- Don't forget to init fields of fsnotify_mark_info
Cyrill Gorcunov
gorcunov at openvz.org
Tue Jan 15 17:22:08 EST 2013
The object is allocated with malloc. The lack of initialization
is not problem at moment since we assign members in
collect_inotify_mark unconditionally but it might cause problems
in future so better to init it as early as possible.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
fsnotify.c | 3 +++
1 file changed, 3 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-fsnotify-inotify-Don-t-forget-to-init-fields-of-fsno.patch
Type: text/x-patch
Size: 370 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130116/5156be05/attachment.bin>
More information about the CRIU
mailing list