[PATCH 1/1] kernelbase: Fix array underflow when checking for trailing spaces.