1
0
Fork 0
mirror of git://git.kernel.org/pub/scm/utils/dash/dash.git synced 2025-12-05 20:45:38 +00:00
No description
Find a file
Herbert Xu 5139d6a277 shell: Fix unsigned char promotion and truncation
When a char is promoted to an int, it needs to be signed as otherwise
comparisons on it may fail.  Alternatively, an integer needs to be
truncated to char before comparing it against another char.

Reported-by: Juergen Daubert <j.daubert@posteo.de>
Fixes: e878137f63 ("expand: Do not call rmescapes in expari")
Fixes: c5bf9702ea ("expand: Add multi-byte support to pmatch")
Fixes: 8f01c3796f ("[PARSER] Add FAKEEOFMARK for expandstr")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2025-10-29 19:56:56 +08:00
src shell: Fix unsigned char promotion and truncation 2025-10-29 19:56:56 +08:00
.gitignore shell: update .gitignore 2018-11-19 18:59:50 +08:00
autogen.sh [SHELL] Add top-level autogen.sh 2011-08-17 09:34:47 +08:00
ChangeLog [MAN] Document redirection file descriptor limitation 2014-11-17 13:07:24 +08:00
ChangeLog.O Initial import. 2005-09-26 18:32:28 +10:00
configure.ac Release 0.5.13.1. 2025-10-13 12:46:55 +08:00
COPYING Copyright/licence updates and remove all traces of sys/cdefs.h 2005-10-29 11:26:30 +10:00
Makefile.am Copyright/licence updates and remove all traces of sys/cdefs.h 2005-10-29 11:26:30 +10:00