diff options
Diffstat (limited to 'binutils/resbin.c')
-rw-r--r-- | binutils/resbin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/resbin.c b/binutils/resbin.c index c35af98..b3682f7 100644 --- a/binutils/resbin.c +++ b/binutils/resbin.c @@ -1867,6 +1867,7 @@ res_to_bin_stringtable (windres_bfd *wrbfd, rc_uint_type off, unichar *s; slen = (rc_uint_type) st->strings[i].length; + if (slen == 0xffffffff) slen = 0; s = st->strings[i].string; length = 2 + slen * 2; |