]> git.proxmox.com Git - mirror_lxcfs.git/commit
Add some more sanity checks
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 20 Apr 2015 13:40:39 +0000 (08:40 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 20 Apr 2015 13:56:27 +0000 (08:56 -0500)
commitc0adec85a133a7ad1ef6c6d3966415f89bd06846
treef7665579409cc196fd6e02570f835c7ac9c5393d
parente5d26e0be93698fb99f81d2c6d472124a982a22d
Add some more sanity checks

Limit string size in sscanf, convert some sprintfs to snprintfs
(to make them future-proof), and free d in case of error.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
lxcfs.c