13 lines
549 B
Diff
13 lines
549 B
Diff
diff -up mutt-1.10.1/headers.c.mutt-1.9.3-1_coverity_87 mutt-1.10.1/headers.c
|
|
--- mutt-1.10.1/headers.c.mutt-1.9.3-1_coverity_87 2018-10-25 15:31:00.153489193 +0200
|
|
+++ mutt-1.10.1/headers.c 2018-10-25 15:31:22.142823598 +0200
|
|
@@ -283,7 +283,7 @@ int mutt_label_message(HEADER *hdr)
|
|
|
|
*buf = '\0';
|
|
if (hdr != NULL && hdr->env->x_label != NULL) {
|
|
- strncpy(buf, hdr->env->x_label, LONG_STRING);
|
|
+ strfcpy(buf, hdr->env->x_label, LONG_STRING);
|
|
}
|
|
|
|
if (mutt_get_field("Label: ", buf, sizeof(buf), MUTT_LABEL /* | MUTT_CLEAR */) != 0)
|