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

From: David Laight
Date: Fri Feb 27 2015 - 05:36:15 EST


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?

David

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/