Thread (16 messages) flat view 16 messages, 7 authors, 2011-07-19

Re: [PATCH] Add error check to hex2bin().

From: Mimi Zohar <hidden>
Date: 2011-07-18 21:44:53
Also in: lkml

On Mon, 2011-07-18 at 22:44 +0300, Andy Shevchenko wrote:
On Mon, Jul 18, 2011 at 10:20 PM, Mimi Zohar [off-list ref] wrote:
quoted
quoted
quoted
We probably don't need to define a separate 'safe' function.
There is an opponent on any  approach. Although, small and fast error
route could be good.
quoted
As nothing but trusted/encrypted keys is using hex2bin, it shouldn't be
a problem.  :-)
The key word "until now". But people will start to use anything which
has public API, won't they?
Someone with more experience than me needs to responds.
quoted
 I'll update trusted/encrypted keys to check the return
code.
Actually another question shall we add __must_check to the prototype or not?
Probably a good idea.

thanks,

Mimi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help