Skip to content

Commit

Permalink
FIX: warning: specified bound depends on the length of the source arg…
Browse files Browse the repository at this point in the history
…ument
  • Loading branch information
Oldes committed Nov 29, 2023
1 parent 905d5f6 commit 98c54fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os/posix/host-lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ RL_LIB *RL; // Link back to reb-lib from embedded extensions (like for now: host
return len + 1;
}

COPY_STR(envval, value, len);
COPY_STR(envval, value, valsize);
return len;
}

Expand Down

0 comments on commit 98c54fc

Please sign in to comment.