sh: Fix out of bounds array access when trap is used with an invalid
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 5 Feb 2012 19:52:44 +0000 (11:52 -0800)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 5 Feb 2012 20:48:13 +0000 (12:48 -0800)
commit5748538799e46b68d37b9a51172a8c47607ebdb4
tree99cde878c45ab09d8ed9ca036e899bd65240636d
parent2b271b9bd2c4b4c7b94e1d246aebde69a6e37819
sh: Fix out of bounds array access when trap is used with an invalid
signal.

Obtained-from:  FreeBSD 230117
bin/sh/trap.c