diff options
author | Simon Ser <contact@emersion.fr> | 2020-06-11 15:27:04 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-06-11 07:34:55 -0600 |
commit | 4615ce9099b10a4325936cd57f1ca253fc5fcc2d (patch) | |
tree | c7fed2c127644eae210ebc845a0caa26a7cb226d /docs | |
parent | 7f9bbaaa17851ba7ee204fc4755ad509e06a9b07 (diff) |
examples/screencopy-dmabuf: call strncpy with maxlen - 1
The original code wasn't wrong since we were manually writing a null
byte anyway, but this makes GCC happy.
Closes: https://github.com/swaywm/wlroots/issues/2273
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions