Commit ID: 1005A3ADC2126F7CA05
CVSROOT: /cvs
Module name: contrib
Changes by: [email protected] 2017/12/20 21:55:18 UTC
Modified files:
code/jupp : kbd.c types.h
Log message:
mark kbd.c:keyval() as untainting function:
• it’s used only inside kbd.c (static function)
• it returns -1 or an unsigned char
• its return value is checked for -1 or applied to a 256-entry array
also, drop the KEYS define, it’s always 256 anyway
To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.12 -r1.13 contrib/code/jupp/kbd.c
cvs -R rdiff -kk -upr1.28 -r1.29 contrib/code/jupp/types.h