Commit: 34c3a51a05733112b89b339cdd7188381aa052b4
Parent: 99a715bee8ccdda407b3991885b69b8dbe96a67a
Author: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-12-04 14:26:57
Tree: e77634ce81ae0eebd6e86168c7324be21e95955e

unit/test-gatt: Fix possible crash If write fails len would be negative and should not be passed to util_hexdump otherwise it might attempt to access invalid memory.

Diffstat

M unit/test-gatt.c | 4 ++- -

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

View Full Diff | Patch