Diff between d23fb32b8ef6acb29dded0e007dc8df13f7bac5e and d42cbe858006f08812c7d39dccfa6448a0b7da34
Changed Files
| File | Additions | Deletions | Status |
| profiles/audio/avctp.c | +1 | -1 | modified |
Full Patch
diff --git a/profiles/audio/avctp.c b/profiles/audio/avctp.c
index 7a59cb1..e65594d 100644
--- a/profiles/audio/avctp.c
+++ b/profiles/audio/avctp.c
@@ -652,7 +652,7 @@ static gboolean session_browsing_cb(GIOChannel *chan, GIOCondition cond,
sock = g_io_channel_unix_get_fd(chan);
- ret = read(sock, buf, sizeof(browsing->imtu));
+ ret = read(sock, buf, browsing->imtu);
if (ret <= 0)
goto failed;