Browse Source

[metadata-remove-property-fix] Fix #390 - Meta-data delete-all crashes the client. (#391)

tags/v1.9.13
Rui Nuno Capela Filipe Coelho <falktx@falktx.com> 6 years ago
parent
commit
a3a3eae791
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      common/JackRequest.h

+ 2
- 1
common/JackRequest.h View File

@@ -1647,7 +1647,8 @@ struct JackPropertyChangeNotifyRequest : public JackRequest
{
jack_uuid_copy(&fSubject, subject);
memset(fKey, 0, sizeof(fKey));
strncpy(fKey, key, sizeof(fKey)-1);
if (key)
strncpy(fKey, key, sizeof(fKey)-1);
}

int Read(detail::JackChannelTransactionInterface* trans)


Loading…
Cancel
Save