ntohl() returns uint32_t so it cannot be < 0. Since we're storing
authormillert <millert@openbsd.org>
Thu, 27 Apr 2017 23:54:08 +0000 (23:54 +0000)
committermillert <millert@openbsd.org>
Thu, 27 Apr 2017 23:54:08 +0000 (23:54 +0000)
commit3123b2cb92f9dffb8297928ef299880de6b0e7d8
treeb28de365cc6869f7d9c0497612a28dede3f2d62b
parentad5027344c1125e127d2d91c0445c3e44f70ecc8
ntohl() returns uint32_t so it cannot be < 0.  Since we're storing
the result in an int check for > INT_MAX instead.  OK bluhm@
lib/libc/nls/catopen.c