rem: sprintf(buf, "%4i", workspace);
add: snprintf(buf, sizeof(buf), "%4i", workspace);
context: SendHelperMessage(WScreen *scr, char type, int workspace, char *msg){    unsigned char *buffer;    int len;    int i;    char buf[16];    if (!scr->flags.backimage_helper_launched) {	return;    }        len = (msg ? strlen(msg) : 0) + (workspace >=0 ? 4 : 0) + 1 ;    buffer = wmalloc(len+5);    sprintf(buf, "%4i", len);    memcpy(buffer, buf, 4);    buffer[4] = type;    i = 5;    if (workspace >= 0) {	sprintf(buf, "%4i", workspace);	memcpy(&buffer[i], buf, 4);	i += 4;	buffer[i] = 0;    }    if (msg)	strcpy(&buffer[i], msg);    if (write(scr->helper_fd, buffer, len+4) < 0) {	wsyserror(_("could not send message to background image helper"));    }    wfree(buffer);}