Re: [PATCH 1/3] pstore: use snprintf

2015-01-06 Thread Joe Perches
On Tue, 2015-01-06 at 09:15 -0800, Mark Salyzyn wrote: > No guarantees that the names will not exceed the > name buffer with future adjustments. [] > diff --git a/fs/pstore/inode.c b/fs/pstore/inode.c [] > @@ -338,32 +338,34 @@ int pstore_mkfile(enum pstore_type_id type, char > *psname, u64 id, in

[PATCH 1/3] pstore: use snprintf

2015-01-06 Thread Mark Salyzyn
No guarantees that the names will not exceed the name buffer with future adjustments. Signed-off-by: Mark Salyzyn --- fs/pstore/inode.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/fs/pstore/inode.c b/fs/pstore/inode.c index 5041660..a381e6c 100644 --