diff options
author | Jaehyun Kim <jeik01.kim@samsung.com> | 2019-11-28 11:37:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.ap-northeast-2.compute.internal> | 2019-11-28 11:37:25 +0000 |
commit | 56835be113cc083b6f815f56d34d543f35c1d88e (patch) | |
tree | 27b9bcf785a25d2b50f7b735024f8766bc75332f | |
parent | 79ef996f2820cbaaa81d9200060f1bc537fce038 (diff) | |
parent | ccab36f4bda1ba2f4bf3d76df2ed41e950f36aae (diff) | |
download | connman-56835be113cc083b6f815f56d34d543f35c1d88e.tar.gz connman-56835be113cc083b6f815f56d34d543f35c1d88e.tar.bz2 connman-56835be113cc083b6f815f56d34d543f35c1d88e.zip |
Merge "wifi: Fix derefrencing of NULL pointer" into tizensubmit/tizen/20191128.114002accepted/tizen/unified/20191129.033505
-rwxr-xr-x | plugins/wifi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c index c209da57..1407441c 100755 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -2269,6 +2269,11 @@ static gboolean autoscan_timeout(gpointer data) autoscan = wifi->autoscan; +#if defined TIZEN_EXT + if (!autoscan) + return FALSE; +#endif + if (autoscan->interval <= 0) { interval = autoscan->base; goto set_interval; |