diff options
author | 2012-07-29 17:21:43 +0000 | |
---|---|---|
committer | 2012-07-29 17:21:43 +0000 | |
commit | aac967402d09cf33224ada6f9ce9c530e4001cc4 (patch) | |
tree | 760489ddbcc4a9e0c62c38ef52e9c40dda0e53e4 /lib/libc/asr/asr_resolver.c | |
parent | get rid of A_INVALID. (diff) | |
download | wireguard-openbsd-aac967402d09cf33224ada6f9ce9c530e4001cc4.tar.xz wireguard-openbsd-aac967402d09cf33224ada6f9ce9c530e4001cc4.zip |
- introduce xlowercase() and allow lowercase() to fail gracefully
- replace all calls to lowercase() with calls to xlowercase()
- in the format string expansion, lowercase() all formats
we will have to reassess all calls to xlowercase() even though it has never
triggered as far as I know, we can probably gracefully fail some of them.
right now we're just keeping former behaviour.
this commit fixes issue reported by Hugo Osvaldo Barrera where a %u format
could lead to a delivery failure (ie: GILLES@openbsd.org should be expanded
to gilles, not GILLES ... only for local deliveries).
ok chl@ on the idea, ok eric@ on the diff
Diffstat (limited to 'lib/libc/asr/asr_resolver.c')
0 files changed, 0 insertions, 0 deletions