#14217 closed bug (fixed)

BJoystick: overwriting vtable pointer by memset

Reported by: waddlesplash Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Device Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


src/kits/device/Joystick.cpp:66: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'BList'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]

memset(fJoystickInfo, 0, sizeof(joystick_info));


Change History (1)

comment:1 by waddlesplash, 18 months ago

Resolution: fixed
Status: newclosed

Fixed in hrev52028.

Note: See TracTickets for help on using tickets.