1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-24 15:04:13 +00:00
cde/src/cmd/ksh93/sh
Martijn Dekker 9f980ba65a sh_setmatch(): fix node size calculation
This fixes the function that sets ${.sh.match}. Patch from OpenSUSE:
https://build.opensuse.org/package/view_file/shells/ksh/ksh93-limit-name-len.dif

src/cmd/ksh93/sh/init.c: sh_setmatch():
- Fix node size calculation, possibly preventing data corruption.

src/cmd/ksh93/include/ulimit.h: Limit_t:
- Defining the 'name' struct member as 'char name[16]' makes
  no sense as the name is being initialised statically in
  data/limits.c; just make it a 'char *name' pointer.
2021-02-02 11:52:54 +00:00
..
args.c Disable SHOPT_KIA (ksh -R) by default 2021-01-23 18:26:38 +00:00
arith.c libast: Update cdt(3): Allow empty strings in (dt)trees 2021-01-28 02:44:52 +00:00
array.c Correctly block invalid values for arrays of an enum type 2021-02-01 16:57:43 +00:00
defs.c test/[: use a shell state bit (re: 7003aba4) 2020-08-30 05:33:59 +01:00
deparse.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
expand.c Remove legacy code for older libast versions 2020-09-04 02:31:39 +02:00
fault.c Fix field splitting bug triggered by DEBUG trap 2021-01-24 16:09:02 +00:00
fcin.c Fix parsing of multibyte characters 2020-06-12 01:45:17 +02:00
init.c sh_setmatch(): fix node size calculation 2021-02-02 11:52:54 +00:00
io.c Replace safe FD fix with Solaris/ksh2020 version (re: 045fe6a1) 2021-01-08 16:35:26 +00:00
jobs.c Fix locking error in spawn implementation 2021-01-27 05:32:24 +00:00
lex.c Another lexical fix for here-documents (re: 6e515f1d) 2021-01-28 06:32:42 +00:00
macro.c Fix various possible uses of uninitialised variables 2021-01-28 04:54:41 +00:00
main.c libast: Update cdt(3): Allow empty strings in (dt)trees 2021-01-28 02:44:52 +00:00
name.c Fix minor typeset attribute regressions (re: 95fe07d8, fdb9781e) 2021-02-02 02:20:37 +00:00
nvdisc.c Fix various possible uses of uninitialised variables 2021-01-28 04:54:41 +00:00
nvtree.c Fix various possible uses of uninitialised variables 2021-01-28 04:54:41 +00:00
nvtype.c resolve/remove USAGE_LICENSE macros; remove repetitive (c) strings 2021-01-31 11:00:49 +00:00
parse.c Fix various possible uses of uninitialised variables 2021-01-28 04:54:41 +00:00
path.c Tweak and regress-test 'command -x' (re: 66e1d446) 2021-02-01 02:19:02 +00:00
pmain.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
shcomp.c resolve/remove USAGE_LICENSE macros; remove repetitive (c) strings 2021-01-31 11:00:49 +00:00
streval.c silence macro redefinition warnings (re: 7003aba4) 2020-06-16 04:51:21 +02:00
string.c Fix garbled output from Ctrl+Alt+V (#135) 2020-09-25 03:37:22 +01:00
subshell.c libast: Update cdt(3): Allow empty strings in (dt)trees 2021-01-28 02:44:52 +00:00
suid_exec.c rm redundant getpid(2) syscalls (re: 9de65210) 2020-09-23 04:19:02 +02:00
tdump.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
timers.c rm redundant getpid(2) syscalls (re: 9de65210) 2020-09-23 04:19:02 +02:00
trestore.c '#if 0' cleanup 2020-08-30 04:51:20 +01:00
waitevent.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
xec.c sh_ntfork(): handle SIGTSTP along with SIGTTIN and SIGTTOU 2021-02-02 04:25:46 +00:00