Skip to contentSkip to conversation

Fix theoretical one-byte buffer overrun

DISCUSSION GitHub pull_request - opened 1 participant 1 message Jun 2 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

alsa-project/alsa-lib pull request #509 was opened from dirkmueller:

If 64 (sizeof(buf))= or more characters were provided in the input string, this unconditionally writes a null byte to buf[64], which is one byte past the end of the array.

Request URL : https://github.com/alsa-project/alsa-lib/pull/509
Patch URL : https://github.com/alsa-project/alsa-lib/pull/509.patch
Repository URL: https://github.com/alsa-project/alsa-lib