Check for buffer overflow before writing to lb so there's no segfaulting.
[ohcount] / ext /
drwxr-xr-x   ..
drwxr-xr-x - ohcount_native