Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: set errno when buf points to NULL in common.c:pqos_read()
There is little need for the check, as the first read() call is supposed to fail with EFAULT in case buf is NULL, but if this check is done, it would be nice if it matches the error code the call it wraps. Signed-off-by: Eugene Syromiatnikov <[email protected]>
- Loading branch information