Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information