K 10 svn:author V 3 imp K 8 svn:date V 27 2020-08-29T09:59:52.396446Z K 7 svn:log V 148 Avoid NULL pointer dereferences Add back NULL pointer checks accidentally dropped in r364946. We need to append a NUL character when that happens. END