[PATCH 4.14 018/135] netlabel: fix out-of-bounds memory accesses