Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc



Module Name:    basesrc
Committed By:   itojun
Date:           Mon Apr 24 02:53:06 UTC 2000

Modified Files:
        basesrc/usr.sbin/lpr/common_source: common.c

Log Message:
avoid NULL pointer access when rp=<ipv4 numberic address> (no ai_canonname).
From: hiro%takechi.org@localhost

XXX checkremote() should be improved.  gethostname -> getaddrinfo is
not the right thing to do, we cannot assume DNS FQDNs is configured
as hostname.  if the goal here is to check if it is really remote or not,
getifaddrs() is the way to go.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 basesrc/usr.sbin/lpr/common_source/common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index