[PATCH 4.9 17/96] netlabel: fix out-of-bounds memory accesses