[bug #51841] find buffer-overflow with -printf '%T+'

2017-09-07 Thread Bernhard Voelker
Follow-up Comment #7, bug #51841 (project findutils): Hmm, but this would change the time zone for all tests. This works for me: index 4d0fd28..a1e83de 100644 --- a/find/testsuite/find.gnu/printf.exp +++ b/find/testsuite/find.gnu/printf.exp @@ -3,5 +3,6 @@ exec mkdir tmp exec touch tmp/file exe

[bug #51841] find buffer-overflow with -printf '%T+'

2017-09-07 Thread Andreas Metzler
Follow-up Comment #6, bug #51841 (project findutils): Well actually there is a simple way: --- a/find/testsuite/Makefile.am +++ b/find/testsuite/Makefile.am @@ -24,6 +24,8 @@ FINDFLAGS = DEJATOOL = find +export TZ = UTC + I'll post an updated patch. cu Andreas __