zero-out buffer before trying to stuff things in it with strlcat()
Merge branch 'master' into portable