coverity 157403 fuzxy handle currently impossible error
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
b39a151c9c
commit
6f4e2d297b
1 changed files with 4 additions and 0 deletions
|
@ -912,6 +912,10 @@ main(int argc, char **argv)
|
|||
* or fill an output buffer
|
||||
*/
|
||||
m = fuzz(n, out, sizeof(out));
|
||||
if (m < 0) {
|
||||
lwsl_err("Error on fuzz\n");
|
||||
goto drop;
|
||||
}
|
||||
lwsl_notice("got block %d\n", m);
|
||||
if (m) {
|
||||
m = write(pfd[n].fd, out, m);
|
||||
|
|
Loading…
Add table
Reference in a new issue