Re: [PATCH 21/22] fscache: fix fscache_objlist_show format processing

2017-09-04 Thread Jérémy Lefaure
> gcc points out a minor bug in the handling of unknown > cookie types, which could result in a string overflow > when the integer is copied into a 3-byte string: > > fs/fscache/object-list.c: In function 'fscache_objlist_show': > fs/fscache/object-list.c:265:19: error: 'sprintf' may write a > ter

[PATCH 21/22] fscache: fix fscache_objlist_show format processing

2017-07-14 Thread Arnd Bergmann
gcc points out a minor bug in the handling of unknown cookie types, which could result in a string overflow when the integer is copied into a 3-byte string: fs/fscache/object-list.c: In function 'fscache_objlist_show': fs/fscache/object-list.c:265:19: error: 'sprintf' may write a terminating nul