1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00
cde/src/cmd/ksh93/sh
Johnothan King 740a24a456 Fix ASan buffer overflow errors caused by memcmp (#393)
This commit replaces more instances of memcmp with strncmp to fix some
more heap-buffer-overflow errors in ASan, some of which can occur when
running the regression tests with xtrace enabled. It combines two
existing patches plus another fix in name.c for xtrace:
https://www.mail-archive.com/ast-developers@lists.research.att.com/msg00877.html
https://github.com/oracle/solaris-userland/blob/master/components/ksh93/patches/035-CR7036535.patch
2021-12-22 06:37:58 +00:00
..
args.c Fix various compiler warnings and minor issues (#362) 2021-12-09 06:42:59 +01:00
arith.c Fix various compiler warnings and minor issues (#362) 2021-12-09 06:42:59 +01:00
array.c Various minor capitalization and typo fixes (#371) 2021-12-13 01:49:42 +01:00
defs.c Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
deparse.c Fix various compiler warnings and minor issues (#362) 2021-12-09 06:42:59 +01:00
expand.c Re-match '.' and '..' in tab completion (re: 5312a59d, aad74597) 2021-12-13 01:50:50 +01:00
fault.c Interactive: Avoid losing the job after suspending a subshell 2021-12-22 05:09:17 +00:00
fcin.c Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
init.c Use dynamic maximum configuration values when necessary (#370) 2021-12-13 07:53:14 +01:00
io.c Use dynamic maximum configuration values when necessary (#370) 2021-12-13 07:53:14 +01:00
jobs.c Various minor capitalization and typo fixes (#371) 2021-12-13 01:49:42 +01:00
lex.c Backport ksh93v- bugfix for [[ 1<2 ]] (#380) 2021-12-17 03:26:41 +01:00
macro.c Better fix for BUG_IFSISSET (re: 95294419) 2021-12-21 06:29:30 +00:00
main.c Interactive: Avoid losing the job after suspending a subshell 2021-12-22 05:09:17 +00:00
name.c Fix ASan buffer overflow errors caused by memcmp (#393) 2021-12-22 06:37:58 +00:00
nvdisc.c Better fix for BUG_IFSISSET (re: 95294419) 2021-12-21 06:29:30 +00:00
nvtree.c Fix ASan buffer overflow errors caused by memcmp (#393) 2021-12-22 06:37:58 +00:00
nvtype.c Fix ASan buffer overflow errors caused by memcmp (#393) 2021-12-22 06:37:58 +00:00
parse.c sh_parse(): don't turn on interactive state (re: 48ba6964) 2021-12-22 05:06:12 +00:00
path.c Fix ASan buffer overflow errors caused by memcmp (#393) 2021-12-22 06:37:58 +00:00
pmain.c Various minor capitalization and typo fixes (#371) 2021-12-13 01:49:42 +01:00
shcomp.c Fix various compiler warnings and minor issues (#362) 2021-12-09 06:42:59 +01:00
streval.c Various minor capitalization and typo fixes (#371) 2021-12-13 01:49:42 +01:00
string.c Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
subshell.c Interactive: Avoid losing the job after suspending a subshell 2021-12-22 05:09:17 +00:00
suid_exec.c Use dynamic maximum configuration values when necessary (#370) 2021-12-13 07:53:14 +01:00
tdump.c Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
timers.c Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
trestore.c Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
waitevent.c Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
xec.c Re-fix defining types conditionally or in subshells (re: f508660d) 2021-12-17 01:28:28 +01:00