Diff between a8283e94e1ecc79b275c613a0fa1dfc72fc32298 and 53445bfde5014a1c246ada7d0502d2de4c1e4fc7
Changed Files
| File | Additions | Deletions | Status |
| android/avrcp-lib.c | +2 | -0 | modified |
Full Patch
diff --git a/android/avrcp-lib.c b/android/avrcp-lib.c
index 92f7744..e404494 100644
--- a/android/avrcp-lib.c
+++ b/android/avrcp-lib.c
@@ -2449,6 +2449,8 @@ static int parse_attribute_list(uint8_t *params, uint16_t params_len,
text[i] = g_strndup(item->data, item->len);
params_len -= item->len;
params += item->len;
+ } else {
+ text[i] = NULL;
}
}