luci2: initialize package pointers to NULL master
authorRafał Miłecki <rafal@milecki.pl>
Tue, 16 Jul 2019 09:41:16 +0000 (11:41 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Tue, 16 Jul 2019 09:42:45 +0000 (11:42 +0200)
commit7c942bffdd21f52ad6273c73d5bd2868283f3c42
treeca4a30f49671fc7d60b578a857ca8f24be19d6dc
parente452ca693af5278ff2ddc69b6f8ed0f346c98fb1
luci2: initialize package pointers to NULL

uci_load() does not guarantee setting passed pointer to NULL on error.
It could result in using uninitialized pointed & crash.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
luci2/src/rpcd/luci2.c