Skip to content

Commit

Permalink
Initialize the buffer
Browse files Browse the repository at this point in the history
.. just to silence a Coverity issue.
  • Loading branch information
ldorau committed Oct 10, 2017
1 parent aa159c0 commit bbb8a80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ test_basic_syscalls(void)
struct stat buf;
int fd;

memset(buffer, 0xFF, BUF_SIZE);

/* PART #1 - real arguments */

s();
Expand Down

0 comments on commit bbb8a80

Please sign in to comment.