[CRIU] [PATCH] files: link remap -- Fix potential buffer overrun

Pavel Emelyanov xemul at parallels.com
Thu Dec 26 00:57:01 PST 2013


On 12/26/2013 11:51 AM, Cyrill Gorcunov wrote:
> If the former file had a path long enough to be near
> PATH_MAX limit, sprintf'ing link_remap.%d here might
> overrun the limit. Use snprintf instead.
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>

applied


More information about the CRIU mailing list