commit | b689a830f5264e3a53307ba468e376e9f95f15e0 | [log] [tgz] |
---|---|---|
author | Rob Clark <robdclark@gmail.com> | Tue Sep 25 13:54:00 2018 -0400 |
committer | Rob Clark <robdclark@gmail.com> | Wed Oct 03 20:24:54 2018 -0400 |
tree | ae96c941ea7706a5f4daa4c4f9a2eeaa03b3816b | |
parent | 9027b8719bd4f46b09c6b9d082715209c17971e2 [diff] |
drm/msm/rd: fix crash with long process cmdlines The [v]snprintf() functions return the size that *would have* been written into the buffer, rather than the size *actually* written. Which results in us trying to memcpy() past the end of the stack. What we really want is [v]scnprintf(). Signed-off-by: Rob Clark <robdclark@gmail.com>