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] [day] [month] [year] [list]
Message-ID: <20120614150525.5c0ed7f0@pyramind.ukuu.org.uk>
Date:	Thu, 14 Jun 2012 15:05:25 +0100
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	Kamil Dudka <kdudka@...hat.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2o: avoid returning pointer to a local array in
 chtostr()

On Thu, 14 Jun 2012 14:51:42 +0200
Kamil Dudka <kdudka@...hat.com> wrote:

> The pointer returned from chtostr() points to an array which is no longer valid
> when being used in the calling function.  Although it may work, the behavior is
> undefined.  Detected by cppcheck.
> 
> Signed-off-by: Kamil Dudka <kdudka@...hat.com>

Acked-by: Alan Cox <alan@...ux.intel.com>

--
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