From d9e07e8a393448a43706b9714245e4908b2d2fb5 Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 6 Jan 2015 01:49:45 +0000 Subject: [PATCH] init a potentially uninitialised var in pf_postprocess_addr ok mikeb@ henning@ --- sys/net/pf_lb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/pf_lb.c b/sys/net/pf_lb.c index 29cd783667a..0d17256b6d5 100644 --- a/sys/net/pf_lb.c +++ b/sys/net/pf_lb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_lb.c,v 1.40 2014/12/19 17:14:40 tedu Exp $ */ +/* $OpenBSD: pf_lb.c,v 1.41 2015/01/06 01:49:45 jsg Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -818,7 +818,7 @@ pf_postprocess_addr(struct pf_state *cur) struct pf_state_key *sks; struct pf_pool rpool; struct pf_addr lookup_addr; - int slbcount; + int slbcount = -1; nr = cur->natrule.ptr; -- 2.20.1