Diff between df66caf9b391e340214aedc43b7341dffbe91a31 and 211067d5576ddee90fbda63bfeaa2e9a1666bbbc
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 37ffde9..058b44a 100644
--- a/profiles/audio/avctp.c
+++ b/profiles/audio/avctp.c
@@ -1246,7 +1246,7 @@ static int uinput_create(struct btd_device *device, const char *name,
static void init_uinput(struct avctp *session)
{
- char name[248 + 1];
+ char name[UINPUT_MAX_NAME_SIZE];
device_get_name(session->device, name, sizeof(name));
if (g_str_equal(name, "Nokia CK-20W")) {