Skip to content

Commit

Permalink
Fix: CI error
Browse files Browse the repository at this point in the history
- set NULL value on initialize
  • Loading branch information
RuffaloLavoisier committed Sep 23, 2024
1 parent 9f40c67 commit 73da4fd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pluginlaunch.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,9 @@ plugin_timeout (nvti_t *nvti)
static int
get_available_memory ()
{
char buf[8192], *hit;
FILE *fd;
char buf[8192] = NULL;
char *hit = NULL;
FILE *fd = NULL;
size_t len;

fd = fopen ("/proc/meminfo", "r");
Expand Down

0 comments on commit 73da4fd

Please sign in to comment.