Re: [PATCH] smsutil: do not allow larger file names

2011-01-28 Thread Denis Kenzior
Hi Lucas, On 01/27/2011 08:48 PM, Lucas De Marchi wrote: > If file name had anything in the name after addr-msgid, it would be > parsed as well. This is not what we want, since there could be temporary > files lying around. > --- > src/smsutil.c |5 +++-- > 1 files changed, 3 insertions(+), 2

[PATCH] smsutil: do not allow larger file names

2011-01-27 Thread Lucas De Marchi
If file name had anything in the name after addr-msgid, it would be parsed as well. This is not what we want, since there could be temporary files lying around. --- src/smsutil.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/smsutil.c b/src/smsutil.c index 3a54fe