]> granicus.if.org Git - strace/commit
Fix struct xlat initialization bugs
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 3 Mar 2011 01:02:41 +0000 (01:02 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 3 Mar 2011 01:02:41 +0000 (01:02 +0000)
commitd475c06134717745987e4c1859e4cdb8d16e2001
treeb6b124e1838a667fc159edcc1edaaee0d02167d8
parentf9a84ef39fdbfe9636837c99beff52d62a7b8127
Fix struct xlat initialization bugs

* file.c (inotify_modes): Terminate with NULL entry.
* net.c (sock_type_flags): Make this array static.
(socketlayers): Add a comment that this array should remain not
NULL-terminated.
file.c
net.c