Fixes a resource exhaustion problem when running windres on a corrupt binary.
authorNick Clifton <nickc@redhat.com>
Thu, 26 Feb 2015 12:23:18 +0000 (12:23 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 26 Feb 2015 12:23:18 +0000 (12:23 +0000)
commite3ee40059d4a4e04d10e2b5c46bacd2a810355ca
tree041502c7198f74ec36abc855a54dc67d30d24e42
parentbd4d2eaad0f624bc47b2e27222480a44d1a48108
Fixes a resource exhaustion problem when running windres on a corrupt binary.

PR binutils/17512
* resrc.c (write_rc_messagetable): Tighten check for invalid
message lengths.
binutils/ChangeLog
binutils/resrc.c