lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 19 Sep 2011 07:19:17 -0400
From:	Mimi Zohar <zohar@...ux.vnet.ibm.com>
To:	"Nicholas A. Bellinger" <nab@...ux-iscsi.org>
Cc:	Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>,
	andy.shevchenko@...il.com, safford@...son.ibm.com,
	target-devel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC][PATCH 5/5] target: check hex2bin result

On Fri, 2011-09-16 at 13:21 -0700, Nicholas A. Bellinger wrote: 
> On Fri, 2011-09-16 at 23:07 +0900, Tetsuo Handa wrote:
> > Mimi Zohar wrote:
> > > Now that hex2bin does error checking, on error add debugging error msg.
> > 
> > We are waiting for response from Nicholas, aren't we?
> > Quotuing from http://www.spinics.net/linux/fedora/linux-security-module/msg11570.html :
> > | I was assuming that, by adding error check, hex2bin() will leave the buffer
> > | uninitialized in case of bad input because hex2bin() user in Linux 3.0 can
> > | return errors. Now you are a new user of hex2bin() but your code cannot return
> > | errors. Nicholas, how do you want to handle bad input?
> 
> Hi Folks,
> 
> There is another patch queued for v3.1-final to ensure that non hex
> characters are skipped in target_emulate_evpd_83() when building the NAA
> IEEE Registered Extended designator.
> 
> [PATCH-v2] target: Skip non hex characters for VPD=0x83 NAA IEEE Registered Extended
> http://www.spinics.net/lists/target-devel/msg00607.html

Yes, I see.  Nice to have linux-next back.

> Other than dropping this part from Mimi's patch, the two other warning
> messages on conversion failure are OK in target_core_fabric_lib.c code.
> 
> I'm happy to queue a modified version of this one for v3.2.
> 
> --nab

thanks!

Mimi 

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ