util: systemd: Don't strlen a possibly NULL string
Coverity complains about virBufferCurrentContent might be return null when calling strlen, so check virBufferError first before calling strlen. (cherry picked from commit c5ca209f)
Showing
想要评论请 注册 或 登录