commit | b2b34cecc8cbc18ff6f1fc00bda6ae6e9011e6c7 | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Fri Aug 07 11:55:08 2015 -0700 |
committer | H. Peter Anvin <hpa@zytor.com> | Fri Aug 07 11:55:08 2015 -0700 |
tree | 7bb56b454d032423800d5a07a1575fcea1b39e83 | |
parent | 7678ae7f14e5aa6792c4486d4eedcb2db887872c [diff] |
tftpd: Canonicalize myaddr before address_is_local() The comparisons for forbidden addresses in address_is_local() only work on canonicalized addresses. Also, work in the case myaddr is NULL (if we ever call it that way...) Signed-off-by: H. Peter Anvin <hpa@zytor.com>