Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: circbuf: avoid possible null pointer dereference
We should not first dereference p and afterwards assert that is was not NULL. Instead do the assert first. The problem was indicated by cppcheck. Signed-off-by: Heinrich Schuchardt <[email protected]>
- Loading branch information