Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zebra: fnc->obuf could be accessed without a lock
Found by coverity. Let's just lock the writeable amount to see if it is possible. It's ok because we want to know if we have room *now*. If another pthread runs it will only remove data from fnc->obuf and make more room. So this is ok. Signed-off-by: Donald Sharp <[email protected]>
- Loading branch information