Date: Tue, 27 Jul 1999 20:00:03 -0700 (PDT) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: freebsd-bugs@FreeBSD.org Subject: kern/12729: Missing function pointer initialization in Network code Message-ID: <199907280300.UAA96076@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/12729; it has been noted by GNATS. From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> 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) <<On Tue, 20 Jul 1999 23:19:49 -0700 (PDT), rhtiwari@cygsoft.com said: > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907280300.UAA96076>