Thread (3 messages) flat view 3 messages, 2 authors, 2015-02-27

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

From: Joe Perches <joe@perches.com>
Date: 2015-02-27 12:36:24
Also in: linux-wireless, lkml

On Fri, 2015-02-27 at 10:35 +0000, David Laight wrote:
From: Joe Perches
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help