wlroots-hyprland/xcursor
Yuya Nishihara a71d565138 Revert "xcursor: use strncat instead of strncpy"
This reverts commit 7dffe9339b, which introduced
another linter error with -O3:

  error: ‘strncat’ specified bound 7 equals source length [-Werror=stringop-overflow=]

This makes sense because strncat(dest, "cursors", strlen("cursors")) is moot
in security point of view.

The next commit will replace strncpy() with memcpy(), so let's restore the
original implementation.
2021-04-13 16:55:46 +02:00
..
meson.build xcursor: also look for cursor themes under ${datadir}/icons by default 2020-03-04 10:02:31 +01:00
wlr_xcursor.c xcursor: make cursor data and metadata const 2021-02-05 10:04:20 +01:00
xcursor.c Revert "xcursor: use strncat instead of strncpy" 2021-04-13 16:55:46 +02:00