projectatomic / oci-systemd-hook

OCI hook to enable running systemd in a container
GNU General Public License v3.0
64 stars 26 forks source link

Fix issues found by Coverity #109

Closed rhatdan closed 5 years ago

rhatdan commented 5 years ago

Inlcuding leaked objects and potential buffer overflow.

Signed-off-by: Daniel J Walsh dwalsh@redhat.com

rhatdan commented 5 years ago

@giuseppe @mrunalp PTAL

TomSweeneyRedHat commented 5 years ago

LGTM. That 256 to buffersize -1 change might have saved us some fun headaches later.

giuseppe commented 5 years ago

LGTM