Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Unified Diff: plugins/newwifi.c

Issue 5255012: flimflam: fix use-after-free of hidden network (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/flimflam.git@master
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/network.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: plugins/newwifi.c
diff --git a/plugins/newwifi.c b/plugins/newwifi.c
index 216728cca343a613583f378db207fd2498047a10..ac45e147b7a441ead9440f867d7f4589814b9f92 100644
--- a/plugins/newwifi.c
+++ b/plugins/newwifi.c
@@ -2794,6 +2794,7 @@ static int supplicant_network_disconnect(struct connman_network *network)
task->current_bss = NULL;
}
}
+ /* NB: caller marks network disconnected on 0 return */
return 0;
}
« no previous file with comments | « no previous file | src/network.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698