[PATCH 1/2] image-host: add a check of the return value of snprintf.