[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash 2.05b sh_nojobs passes too few arguments after format
From: |
Paul Eggert |
Subject: |
bash 2.05b sh_nojobs passes too few arguments after format |
Date: |
Wed, 24 Jul 2002 01:04:19 -0700 (PDT) |
Configuration Information [Automatically generated, do not change]:
Machine: sparc
OS: solaris2.8
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc'
-DCONF_OSTYPE='solaris2.8' -DCONF_MACHTYPE='sparc-sun-solaris2.8'
-DCONF_VENDOR='sun' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g
-O2 -Wall -W -Wno-sign-compare -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-noreturn -Wmissing-format-attribute
uname output: SunOS sic.twinsun.com 5.8 Generic_108528-15 sun4u sparc
SUNW,UltraSPARC-IIi-Engine
Machine Type: sparc-sun-solaris2.8
Bash Version: 2.05b
Patch Level: 0
Release Status: release
Description:
sh_nojobs invokes builtin_error ("%s:...") without passing
an argument for the %s, leading to a possible core dump.
Repeat-By:
Fix:
===================================================================
RCS file: builtins/common.c,v
retrieving revision 2.5.2.0
retrieving revision 2.5.2.1
diff -pu -r2.5.2.0 -r2.5.2.1
--- builtins/common.c 2002/06/28 16:24:31 2.5.2.0
+++ builtins/common.c 2002/07/24 08:02:29 2.5.2.1
@@ -244,7 +244,7 @@ sh_nojobs (s)
char *s;
{
if (s)
- builtin_error ("%s: no job control");
+ builtin_error ("%s: no job control", s);
else
builtin_error ("no job control");
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bash 2.05b sh_nojobs passes too few arguments after format,
Paul Eggert <=