mirror of
https://github.com/openwrt/packages.git
synced 2025-07-08 09:05:29 +00:00
Null pointer dereference. This looks like a bug fix actually... Signed-off-by: Rosen Penev <rosenp@gmail.com>
12 lines
358 B
Diff
12 lines
358 B
Diff
--- a/cpp/src/command_classes/AssociationCommandConfiguration.cpp
|
|
+++ b/cpp/src/command_classes/AssociationCommandConfiguration.cpp
|
|
@@ -183,7 +183,7 @@ namespace OpenZWave
|
|
if (Node* node = GetNodeUnsafe())
|
|
{
|
|
Group* group = node->GetGroup(groupIdx);
|
|
- if ( NULL == group)
|
|
+ if (group)
|
|
{
|
|
if (firstReports)
|
|
{
|