e28958fe5c
mount/fs_foreachmountpoint.c: In function 'mountpoint_filter': mount/fs_foreachmountpoint.c:99:38: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 99 | sprintf(&dirpath[pathlen], "/%s", node->i_name); | ^ In function 'mountpoint_filter', inlined from 'mountpoint_filter' at mount/fs_foreachmountpoint.c:64:12: mount/fs_foreachmountpoint.c:99:7: note: 'sprintf' output between 2 and 257 bytes into a destination of size 256 99 | sprintf(&dirpath[pathlen], "/%s", node->i_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: chao an <anchao@xiaomi.com> |
||
---|---|---|
.. | ||
fs_automount.c | ||
fs_foreachmountpoint.c | ||
fs_gettype.c | ||
fs_mount.c | ||
fs_procfs_mount.c | ||
fs_umount2.c | ||
Make.defs | ||
mount.h |