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 21:03:56 +0000 (13:03 -0800)
commit236f35fc4f4ec6fa74b841290fc7851e5431698e
tree6dbe739a6a04a87d99cd5dba443a9c2d7d87ced3
parentad6a7666b6711b108da1dd67ef0d65d44301577b
sh: Fix out of bounds array access when trap is used with an invalid
signal.

Obtained-from:  FreeBSD 230117
(cherry picked from commit 5748538799e46b68d37b9a51172a8c47607ebdb4)
bin/sh/trap.c