[PATCH 5.4 077/462] jfs: fix out-of-bounds in dbNextAG() and diAlloc()