Revision d14f51f...

Go back to digest for 11th August 2013

Bug Fixes in KDE Base

Alex Fiestas committed changes in [kdelibs/KDE/4.11] /solid/backends/udev:

Pass the size of the bitmask and return before overflowing it

Apparently some times KEY will be bigger than NBITS(KEY_MAX) for
example when removing my Dash Keyboard (only when removing). So to
be safe (better than sorry) let's check max_size before filling info.

Fixes crash in 4.11 with some input devices with keys (keyboards).

File Changes

Modified 3 files
  • /solid/backends/udev
  •   solid/udevmanager.cpp
  •   solid/utils.cpp
  •   solid/utils.h
3 files changed in total