Detects j dropping below 0 going unchecked. This bug was originally fixed in 2c6b7916b6, but due to ssize_t being a POSIX extension, we are going to check it manually.
2c6b7916b6