Commit ID: 10050846B5B2B1A2932
CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2012/10/21 21:39:08 UTC
Modified files:
bin/mksh : exec.c funcs.c histrap.c main.c sh.h var.c
Log message:
add some bounds, for a subsequent commit:
• all writers of exstat ensure the value is in [0; 0xFF]
• all readers of exstat AND it with 0xFF (not strictly needed thus)
• trap_exstat is “safe”, i.e. always either -1 or [0; 0xFF]
To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.102 -r1.103 src/bin/mksh/exec.c
cvs -R rdiff -kk -upr1.226 -r1.227 src/bin/mksh/funcs.c
cvs -R rdiff -kk -upr1.126 -r1.127 src/bin/mksh/histrap.c
cvs -R rdiff -kk -upr1.230 -r1.231 src/bin/mksh/main.c
cvs -R rdiff -kk -upr1.593 -r1.594 src/bin/mksh/sh.h
cvs -R rdiff -kk -upr1.153 -r1.154 src/bin/mksh/var.c