Task #78014 - fixed.err
back to task #78014download
Error: GCC_ANALYZER_WARNING (CWE-401): libinput-1.29.1/src/evdev-fallback.c:1652:25: warning[-Wanalyzer-malloc-leak]: leak of ‘zalloc((long unsigned int)libevdev_get_num_slots(*device.evdev) * 32) + (long unsigned int)slot * 32’ libinput-1.29.1/src/evdev-fallback.c:1744:1: enter_function: entry to ‘fallback_dispatch_create’ libinput-1.29.1/src/evdev-fallback.c:1749:20: call_function: calling ‘zalloc’ from ‘fallback_dispatch_create’ libinput-1.29.1/src/evdev-fallback.c:1749:20: return_function: returning to ‘fallback_dispatch_create’ from ‘zalloc’ libinput-1.29.1/src/evdev-fallback.c:1757:9: call_function: calling ‘fallback_dispatch_init_abs’ from ‘fallback_dispatch_create’ libinput-1.29.1/src/evdev-fallback.c:1757:9: return_function: returning to ‘fallback_dispatch_create’ from ‘fallback_dispatch_init_abs’ libinput-1.29.1/src/evdev-fallback.c:1758:13: call_function: calling ‘fallback_dispatch_init_slots’ from ‘fallback_dispatch_create’ # 1650| slots[slot].seat_slot = -1; # 1651| slots[slot].point.x = # 1652|-> libevdev_get_slot_value(evdev, slot, ABS_MT_POSITION_X); # 1653| slots[slot].point.y = # 1654| libevdev_get_slot_value(evdev, slot, ABS_MT_POSITION_Y); Error: GCC_ANALYZER_WARNING (CWE-401): libinput-1.29.1/src/evdev-fallback.c:1654:25: warning[-Wanalyzer-malloc-leak]: leak of ‘zalloc((long unsigned int)libevdev_get_num_slots(*device.evdev) * 32) + (long unsigned int)slot * 32’ libinput-1.29.1/src/evdev-fallback.c:1744:1: enter_function: entry to ‘fallback_dispatch_create’ libinput-1.29.1/src/evdev-fallback.c:1749:20: call_function: calling ‘zalloc’ from ‘fallback_dispatch_create’ libinput-1.29.1/src/evdev-fallback.c:1749:20: return_function: returning to ‘fallback_dispatch_create’ from ‘zalloc’ libinput-1.29.1/src/evdev-fallback.c:1757:9: call_function: calling ‘fallback_dispatch_init_abs’ from ‘fallback_dispatch_create’ libinput-1.29.1/src/evdev-fallback.c:1757:9: return_function: returning to ‘fallback_dispatch_create’ from ‘fallback_dispatch_init_abs’ libinput-1.29.1/src/evdev-fallback.c:1758:13: call_function: calling ‘fallback_dispatch_init_slots’ from ‘fallback_dispatch_create’ # 1652| libevdev_get_slot_value(evdev, slot, ABS_MT_POSITION_X); # 1653| slots[slot].point.y = # 1654|-> libevdev_get_slot_value(evdev, slot, ABS_MT_POSITION_Y); # 1655| } # 1656| dispatch->mt.slots = slots;