diff options
author | ngie <ngie@FreeBSD.org> | 2016-05-04 00:39:03 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-05-04 00:39:03 +0000 |
commit | b9b6820e9d0d18ecd610f598e9099a3da6cc94f7 (patch) | |
tree | dae7ea1e6de44d10f30aa2eb638ae6bd19b8c8e9 /contrib/netbsd-tests/lib/libc/string/t_swab.c | |
parent | 7c09989b4a2d725ebdfe49bf490d0a74c88106ba (diff) | |
download | FreeBSD-src-b9b6820e9d0d18ecd610f598e9099a3da6cc94f7.zip FreeBSD-src-b9b6820e9d0d18ecd610f598e9099a3da6cc94f7.tar.gz |
MFC r298753:
Fix va_list handling
- Add missing va_end's after corresponding va_start's to cleanup state
- Eliminate questionable bzero'ing of va_list passed in to
do_buff_decode(..) and do_encode(..) from buff_{de,en}code_visit(..)
and csio_{de,en}code_visit(..). Make va_list a pointer instead and
pass NULL into the underlying functions to handler this in a portable
way.
- Do some minor style(9) clean up in affected functions.
CID: 1018500-1018503
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/string/t_swab.c')
0 files changed, 0 insertions, 0 deletions