[Mesa-dev] [Bug 105274] Buffer overflow in gallium/auxiliary/hud/hud_cpufreq.c

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 27 21:11:32 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105274

--- Comment #2 from vesim809 at gmail.com ---
It is possible in both, you can create directory named "cpu0<very_long_string>"
and it will be accepted by that sscanf. 
The easiest fix for it is by using strcpy_s instead of strcpy.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180227/ac712b0d/attachment-0001.html>


More information about the mesa-dev mailing list