Skip to content
Commit 3fde9551 authored by Axel Kellermann's avatar Axel Kellermann Committed by Sven Brauch
Browse files

cmListFileLexer: use memcpy instead of strcpy to copy buffer contents to tokens

This fixes a crash when the input is garbage (e.g. binary file which
is not cmake code at all).

BUG: 363269
Differential Revision: https://phabricator.kde.org/D6924
parent 794e63d6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment