- djm@cvs.openbsd.org 2006/03/25 01:30:23

[sftp.c]
     "abormally" is a perfectly cromulent word, but "abnormally" is better
This commit is contained in:
Damien Miller 2006-03-26 14:23:17 +11:00
parent 36812092ec
commit 55b04f1d77
2 changed files with 5 additions and 2 deletions

View File

@ -128,6 +128,9 @@
realloc is particularly prone to integer overflows because it is realloc is particularly prone to integer overflows because it is
almost always allocating "n * size" bytes, so this is a far safer almost always allocating "n * size" bytes, so this is a far safer
API; ok deraadt@ API; ok deraadt@
- djm@cvs.openbsd.org 2006/03/25 01:30:23
[sftp.c]
"abormally" is a perfectly cromulent word, but "abnormally" is better
20060325 20060325
- OpenBSD CVS Sync - OpenBSD CVS Sync
@ -4385,4 +4388,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.4274 2006/03/26 03:22:47 djm Exp $ $Id: ChangeLog,v 1.4275 2006/03/26 03:23:17 djm Exp $

2
sftp.c
View File

@ -244,7 +244,7 @@ local_do_shell(const char *args)
if (errno != EINTR) if (errno != EINTR)
fatal("Couldn't wait for child: %s", strerror(errno)); fatal("Couldn't wait for child: %s", strerror(errno));
if (!WIFEXITED(status)) if (!WIFEXITED(status))
error("Shell exited abormally"); error("Shell exited abnormally");
else if (WEXITSTATUS(status)) else if (WEXITSTATUS(status))
error("Shell exited with status %d", WEXITSTATUS(status)); error("Shell exited with status %d", WEXITSTATUS(status));
} }