Blame uudeview-format-security.patch
|
|
a0f4588 |
diff --git a/unix/uuenview.c b/unix/uuenview.c
|
|
|
a0f4588 |
index 7acfd3b..726a2a6 100644
|
|
|
a0f4588 |
--- a/unix/uuenview.c
|
|
|
a0f4588 |
+++ b/unix/uuenview.c
|
|
|
a0f4588 |
@@ -310,7 +310,7 @@ SendMkCommand (char **rcptlist, char *towhom, char *subject, int isemail)
|
|
|
a0f4588 |
}
|
|
|
a0f4588 |
|
|
|
a0f4588 |
if ((*rcptlist = (char *) malloc (strlen (towhom) + 16)) == NULL) {
|
|
|
a0f4588 |
- fprintf (stderr, "error: Out of memory allocating %d bytes\n",
|
|
|
a0f4588 |
+ fprintf (stderr, "error: Out of memory allocating %zd bytes\n",
|
|
|
a0f4588 |
strlen (towhom)+16);
|
|
|
a0f4588 |
_FP_free (command);
|
|
|
a0f4588 |
return NULL;
|
|
|
a0f4588 |
@@ -483,7 +483,7 @@ AttachFiles (char *towhom, char *subject,
|
|
|
a0f4588 |
if (_FP_stristr (input, "multipart") != NULL) {
|
|
|
a0f4588 |
/* it is already a multipart posting. grab the boundary */
|
|
|
a0f4588 |
if ((ptr = _FP_stristr (input, "boundary=")) != NULL) {
|
|
|
a0f4588 |
- fprintf(thepipe, input);
|
|
|
a0f4588 |
+ fprintf(thepipe, "%s", input);
|
|
|
a0f4588 |
strcpy (boundary, ParseValue (ptr));
|
|
|
a0f4588 |
hadmulti = 1;
|
|
|
a0f4588 |
}
|