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]
Message-ID: <48D1DF43.4090804@davidnewall.com>
Date:	Thu, 18 Sep 2008 14:25:31 +0930
From:	David Newall <davidn@...idnewall.com>
To:	Halesh S <halesh.s@...ia.com>
CC:	linux-kernel@...r.kernel.org
Subject: Re: execve exit status on MIPS

Halesh S wrote:
> char e2BIG[ARG_MAX+1][10];
> ...
>   for(ind = 0; ind < ARG_MAX+1; ind++)
>     strcpy(e2BIG[ind], "helloworld");
>   

Did you intend to overflow e2BIG?  You're copying 11 bytes (including
terminating NUL) into a 10 byte array.
--
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