Commit: 0b4da9426f177bf46aa77b12e05da147a8b6f108
Parent: b81d63d581a4fc2a5f76ed5fe03be2d3a32ef51b
Author: Petri Gynther <pgynther@google.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-02-19 06:14:17
Tree: 729ca0debf6c368b1402aa06b1dfb2833339fd6a

core: Fix device_get_name() to always null-terminate what it returns Fix device_get_name() to null-terminate the name string it returns. Modify all callers as needed.

Diffstat

M plugins/wiimote.c | 1 -
M profiles/input/device.c | 2 +-
M src/device.c | 5 ++++-

3 files changed, 5 insertions(+), 3 deletions(-)

View Full Diff | Patch