segment: Fix read past end of buffer when input ends in '-'.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 9 Oct 2021 16:13:40 +0000 (09:13 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 9 Oct 2021 16:13:40 +0000 (09:13 -0700)
Thanks to John Darrington for reporting this.
Found by Address Sanitizer.


No differences found