diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2015-11-23 21:48:49 -0800 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-11-23 21:48:49 -0800 |
commit | 9e06828a7fd61b330ad95490a055eff9e2191933 (patch) | |
tree | d7f0a5e82e291deb7bfbbf10327f5263829fba68 /Src/compat.c | |
parent | e73b73e0b0d80db12761a04565c74a8dcfd23c51 (diff) | |
download | zsh-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