Skip to contentSkip to conversation

envy24control: fix memory access errors in profiles

DISCUSSION GitHub pull_request - opened 1 participant 1 message Mar 29, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): alsa-project/alsa-tools/pr/[email protected]

#1 lore raw

alsa-project/alsa-tools pull request #34 was opened from andreas56:

Fix two memory errors in the profiles parser: an invalid read and a "source and destination overlap in strncpy" warning.

When the profiles page is initialized it fetches the profile names from the profiles file. When a profile wasn't defined in the file, the parser made invalid reads outside the buffer.

Request URL : https://github.com/alsa-project/alsa-tools/pull/34
Patch URL : https://github.com/alsa-project/alsa-tools/pull/34.patch
Repository URL: https://github.com/alsa-project/alsa-tools