diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-08-11 18:05:37 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-08-11 18:05:37 +0200 |
commit | e3f6b14857466a285617fc792513934b7cb22932 (patch) | |
tree | a3ec4892bb63b8d07ee735085d282a02da1040d6 /pwnnel-blicker.c | |
parent | Add links back. (diff) | |
download | Pwnnel-Blicker-e3f6b14857466a285617fc792513934b7cb22932.tar.xz Pwnnel-Blicker-e3f6b14857466a285617fc792513934b7cb22932.zip |
Because fixing security holes in security exploits is hilarious.
Diffstat (limited to 'pwnnel-blicker.c')
-rwxr-xr-x | pwnnel-blicker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pwnnel-blicker.c b/pwnnel-blicker.c index 595aa34..3f65484 100755 --- a/pwnnel-blicker.c +++ b/pwnnel-blicker.c @@ -69,7 +69,7 @@ int main(int argc, char *argv[]) /* Oh god, do I miss /proc/self/exe. */ if (getenv("PWNPATH")) - strcpy(self, getenv("PWNPATH")); + strncpy(self, getenv("PWNPATH"), sizeof(self)); else { size = sizeof(path); _NSGetExecutablePath(path, &size); |