Skip to content
Snippets Groups Projects
Commit c8dc9de1 authored by Johann Felix Soden's avatar Johann Felix Soden Committed by Len Brown
Browse files

ACPI: buffer array too short in drivers/acpi/system.c


Since "ff_gbl_lock" has a length of 11 chars and is copied with sprintf
to char buffer[10], there is a problem. We need char buffer[12] because
of the closing zero byte.

Signed-off-by: default avatarJohann Felix Soden <johfel@users.sourceforge.net>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent b6a16387
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment