From d51c30157c2ec626c7eb7a21f3b8199698e38e16 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 8 Feb 2008 20:58:18 +0000 Subject: [PATCH] 2008-02-08 H.J. Lu PR binutils/5713 * strings.c (main): Set string_min to 4 if it is <= 0. --- binutils/ChangeLog | 5 +++++ binutils/strings.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 07e6e410820..3cc8f7fde61 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2008-02-08 H.J. Lu + + PR binutils/5713 + * strings.c (main): Set string_min to 4 if it is <= 0. + 2008-02-07 Alan Modra * objdump.c (main): Don't pass unadorned NULL to concat. diff --git a/binutils/strings.c b/binutils/strings.c index 650b8cbf414..cf4b336f5c3 100644 --- a/binutils/strings.c +++ b/binutils/strings.c @@ -270,7 +270,7 @@ main (int argc, char **argv) } } - if (string_min < 0) + if (string_min <= 0) string_min = 4; switch (encoding) -- 2.30.2