mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-06-16 02:15:48 +00:00
plugins/tuntap: add missing return on error
Reported by Coverity as CID #1308282
This commit is contained in:
@@ -189,6 +189,7 @@ void uwsgi_tuntap_opt_firewall(char *opt, char *value, void *direction) {
|
||||
char *space2 = strchr(space + 1, ' ');
|
||||
if (!space2) {
|
||||
uwsgi_log("invalid tuntap firewall rule syntax. must be <action> <src/mask> <dst/mask>");
|
||||
return;
|
||||
}
|
||||
|
||||
*space2 = 0;
|
||||
|
||||
Reference in New Issue
Block a user