Skip to content

fru: Fix crashes on 6-bit ASCII strings #234

Merged
merged 1 commit into from
Sep 16, 2020

Conversation

AlexanderAmelkin
Copy link
Contributor

Fix calculation of the buffer size for decoded 6-bit ASCII
strings. Previously the program could allocate too a short buffer
that caused buffer overflows and segmentation fault crashes on
certain FRU contents.

Signed-off-by: Alexander Amelkin alexander@amelkin.msk.ru

Fix calculation of the buffer size for decoded 6-bit ASCII
strings. Previously the program could allocate too a short buffer
that caused buffer overflows and segmentation fault crashes on
certain FRU contents.

Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
@AlexanderAmelkin AlexanderAmelkin merged commit 1245aaa into master Sep 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant