Skip to content

Conversation

@libnoon
Copy link

@libnoon libnoon commented Mar 21, 2022

The line

  buf[len] = 0;

could write past the buffer if we have read 16 bytes.

Read only 15 bytes to avoid this possibility.

The line
  buf[len] = 0;
could write past the buffer if we have read 16 bytes.

Read only 15 bytes to avoid this possibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant