diff options
author | Toomas Soome <tsoome@me.com> | 2020-01-01 11:47:11 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2020-03-31 19:56:15 +0300 |
commit | 5338faaac2dc1b2a16cb1a986233578834926ce0 (patch) | |
tree | 00c2b1aa00d78096c84b001a504bc9e588309590 | |
parent | 9b0bb795691f70ec1b1796f6d15266f82d7a3200 (diff) | |
download | illumos-joyent-5338faaac2dc1b2a16cb1a986233578834926ce0.tar.gz |
12423 ipf: variable may be used uninitialized
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Reviewed by: Gary Mills <gary_mills@fastmail.fm>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/uts/common/inet/ipf/ip_nat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/common/inet/ipf/ip_nat.c b/usr/src/uts/common/inet/ipf/ip_nat.c index e8b115761e..96c71969a4 100644 --- a/usr/src/uts/common/inet/ipf/ip_nat.c +++ b/usr/src/uts/common/inet/ipf/ip_nat.c @@ -4747,6 +4747,8 @@ ipf_stack_t *ifs; ipnat_t *np; SPL_INT(s); + sum1 = 0; + sum2 = 0; if (ifs->ifs_fr_running <= 0) return; |