Skip to content
Snippets Groups Projects
Commit 694804c6 authored by Petri Latvala's avatar Petri Latvala Committed by Arkadiusz Hiler
Browse files

testdisplay: Make sure readlink() result is nul-terminated


A similar fix as in commit a7001318 ("tests/tools_test: Use
readlink() properly"), zero-initialize and read sizeof minus one.

Signed-off-by: default avatarPetri Latvala <petri.latvala@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
parent ec18cc14
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment