PSARC/2014/162 ksh93 update to 2012-08-01
17533968 ksh93 uprev to latest community version
17817727 ksh93: Right shift arithmetic substitution error for shifts of 64 bits or more
17699248 ksh93 double associative array handling bugs
17777549 "kill %%" with no background jobs , coredumps
18119738 ksh93 crashes in sfio area
18229654 ksh93 read not reentrant in alarm context dumps core
16169978 ksh93 memory corruption with redirection
18302723 ksh93 segv in sh_setmatch
16507675 external command in double-nested here-document hangs ksh93
18920300 remove pkglint Warnings in ksh93 build
18355790 /usr/bin/sh and /usr/sbin/sh should point to /usr/bin/ksh93
19907453 Session drop can cause ksh93 to become a fork bomb
18426052 SPARC /usr/bin/ksh is not an XPG6 executable
20808157 attpackagemake.mk test target needs the same environment as the build
20948390 ksh93 should have some master test results to compare against
20948350 attpackagemake.mk tested-and-compared target has mis-matched parentheses
This issue has been fixed in community version: 2013-10-10
---
--- a/src/cmd/ksh93/sh/jobs.c 2013-11-12 10:32:35.378209600 -0800
+++ b/src/cmd/ksh93/sh/jobs.c 2013-11-12 10:35:10.458987800 -0800
@@ -1100,7 +1100,7 @@
int job_kill(register struct process *pw,register int sig)
{
- Shell_t *shp = pw->p_shp;
+ Shell_t *shp;
register pid_t pid;
register int r;
const char *msg;
@@ -1113,6 +1113,7 @@
errno = ECHILD;
if(pw==0)
goto error;
+ shp = pw->p_shp;
pid = pw->p_pid;
#if SHOPT_COSHELL
if(pw->p_cojob)