Verify that opened message catalog is valid, i.e. avoid integer overflows
authortobias <tobias@openbsd.org>
Fri, 23 Oct 2015 18:49:07 +0000 (18:49 +0000)
committertobias <tobias@openbsd.org>
Fri, 23 Oct 2015 18:49:07 +0000 (18:49 +0000)
commit3c63f6bb29d6e80a15e53a7ac11f4d7a1510ba08
tree180ae4c24d0e02736080a38808303f0da44b673f
parent600fb417046835453f45e96cc9b28048e08ee75d
Verify that opened message catalog is valid, i.e. avoid integer overflows
and out of boundary accesses.

with input by miod, ok stsp
lib/libc/nls/catopen.c