Commit: 21acf2283cacf0c029f2cea82380f4744a1dbcb5
Parent: 282258bb306d631216bad7efc2d3c7d2f0d60f53
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-01-06 18:08:02
Tree: 3b98ecdb4c708be2b2ca6a9085172706c14b3e6e

input: Fix buffer overflow when parsing HID SDP record If Service Description for HID service is greater than 126 characters, req->name will overflow while being concatenated with Provider Name. Fix by reserving space for the whitespace used for separator.

Diffstat

M profiles/input/device.c | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)

View Full Diff | Patch