summary refs log tree commit diff
path: root/Src/compat.c
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2015-11-23 21:48:49 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2015-11-23 21:48:49 -0800
commit9e06828a7fd61b330ad95490a055eff9e2191933 (patch)
treed7f0a5e82e291deb7bfbbf10327f5263829fba68 /Src/compat.c
parente73b73e0b0d80db12761a04565c74a8dcfd23c51 (diff)
downloadzsh-9e06828a7fd61b330ad95490a055eff9e2191933.tar.gz
zsh-9e06828a7fd61b330ad95490a055eff9e2191933.tar.xz
zsh-9e06828a7fd61b330ad95490a055eff9e2191933.zip
37208: check for restricted parameter before changing from unset to set
Also, return NULL from setnparam() on failure to retrieve value (avoids
null-pointer dereference); add some expository comments
Diffstat (limited to 'Src/compat.c')
0 files changed, 0 insertions, 0 deletions