Kindly consider my fix for the lack of bounds checks in implicit.c
Index: make-3.82/implicit.c
===================================================================
--- make-3.82.orig/implicit.c
+++ make-3.82/implicit.c
@@ -488,6 +488,9 @@ pattern_search (struct file *file, int a
dir = pathdir;
}
+ if (stemlen >= PATH_MAX)
+ fatal (NILF, _("File name too long"));
+
DBS (DB_IMPLICIT, (_("Trying pattern rule with stem `%.*s'.\n"),
(int) stemlen, stem));
Thanks.
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make