From owner-freebsd-bugs Tue Jul 27 20: 1:51 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 61B9714C1A for ; Tue, 27 Jul 1999 20:01:48 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA96076; Tue, 27 Jul 1999 20:00:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 27 Jul 1999 20:00:03 -0700 (PDT) Message-Id: <199907280300.UAA96076@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Garrett Wollman Subject: kern/12729: Missing function pointer initialization in Network code Reply-To: Garrett Wollman Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/12729; it has been noted by GNATS. From: Garrett Wollman To: rhtiwari@cygsoft.com Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: kern/12729: Missing function pointer initialization in Network code Date: Tue, 27 Jul 1999 22:55:03 -0400 (EDT) < In file ip_input.c on line 163 you are declaring a pointer: > ip_nat_t *ip_nat_ptr ; > However I was unable to determine where this pointer is being > initialized. Precisely there. It is a declaration of a variable with static lifetime. Please read ISO 9899 (or at least K&R II). > Could somebody please explain to me what exactly is going on in the code? Nothing. This is not a bug, and should not have had a PR filed on it. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message