[PATCH 3.4 014/125] HID: core: Avoid uninitialized buffer access

2016-10-12 Thread lizf
From: Richard Purdie 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 79b568b9d0c7c5d81932f4486d50b38efdd6da6d upstream. hid_connect adds various strings to the buffer but they're all conditional. You

[PATCH 3.4 014/125] HID: core: Avoid uninitialized buffer access

2016-10-12 Thread lizf
From: Richard Purdie 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 79b568b9d0c7c5d81932f4486d50b38efdd6da6d upstream. hid_connect adds various strings to the buffer but they're all conditional. You can find circumstances where nothing