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