Subject: Re: [PATCH net-next] wireless: test sscanf return values

From: Joe Perches <[email-masked]>
Date: Fri, 27 Feb 2015 04:36:19 -0800

On Fri, 2015-02-27 at 10:35 +0000, David Laight wrote:
> From: Joe Perches
> > At some point, it'd be good to make sscanf use __must_check
> > so make sure the net/ uses of sscanf use the return value.
> 
> Isn't it much safer to avoid sscanf() completely and use
> a different function for converting numerics?

It's generally better to use something other than sscanf.
That doesn't mean sscanf isn't useful.