strings: Improve code to detect excessively large minimum string lengths.
authorNick Clifton <nickc@redhat.com>
Fri, 30 Jun 2023 12:54:03 +0000 (13:54 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 30 Jun 2023 12:54:03 +0000 (13:54 +0100)
commit3713e829be7e0195a78de17282304bebf8746b67
treef141f44319023c8b71acbd0a948ae989d5fbd238
parent0d1cd7d97835941c046dbb7ec1c83bc7c05779e6
strings: Improve code to detect excessively large minimum string lengths.

  PR 30598
  * strings.c (set_string_min): New function. (main): Use it. (print_unicode_stream): Calculate buffer size using a size_t.
binutils/ChangeLog
binutils/strings.c