xorg-server-1.20.2/hw/xfree86/fbdevhw/fbdevhw.c:339]: (style) Checking if unsigned variable 'sizeof(buf)' is less than zero. Source code is if (asprintf(&sysfs_path, "/sys/class/graphics/%s", node) < 0 || readlink(sysfs_path, buf, sizeof(buf) < 0) || strstr(buf, "devices/pci")) { Maybe better code if (asprintf(&sysfs_path, "/sys/class/graphics/%s", node) < 0 || readlink(sysfs_path, buf, sizeof(buf)) < 0 || strstr(buf, "devices/pci")) {
Already fixed yesterday: https://gitlab.freedesktop.org/xorg/xserver/commit/71703e4e8bd00719eefad53c2ed6c604079f87ea Thanks for the report!
Sorry, wrong commit link, should have been: https://gitlab.freedesktop.org/xorg/xserver/commit/bd5fe7593fd0df236f3b2be1f062166ddba7d67c
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.