The patch titled Subject: Documentation/accounting/getdelays.c: add missing null-terminate after strncpy call has been removed from the -mm tree. Its filename was documentation-accounting-getdelaysc-cleaning-up-missing-null-terminate-after-strncpy-call.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Rickard Strandqvist <rickard_strandqvist@xxxxxxxxxxxxxxxxxx> Subject: Documentation/accounting/getdelays.c: add missing null-terminate after strncpy call Added a guaranteed null-terminate after call to strncpy. This was partly found using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist <rickard_strandqvist@xxxxxxxxxxxxxxxxxx> Acked-by: Kees Cook <keescook@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/accounting/getdelays.c | 1 + 1 file changed, 1 insertion(+) diff -puN Documentation/accounting/getdelays.c~documentation-accounting-getdelaysc-cleaning-up-missing-null-terminate-after-strncpy-call Documentation/accounting/getdelays.c --- a/Documentation/accounting/getdelays.c~documentation-accounting-getdelaysc-cleaning-up-missing-null-terminate-after-strncpy-call +++ a/Documentation/accounting/getdelays.c @@ -314,6 +314,7 @@ int main(int argc, char *argv[]) break; case 'm': strncpy(cpumask, optarg, sizeof(cpumask)); + cpumask[sizeof(cpumask) - 1] = '\0'; maskset = 1; printf("cpumask %s maskset %d\n", cpumask, maskset); break; _ Patches currently in -mm which might be from rickard_strandqvist@xxxxxxxxxxxxxxxxxx are origin.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html