commit | 91095bcf2820f3d77ea1e16a338e686ba6a70e9f | [log] [tgz] |
---|---|---|
author | Tom Tromey <tom@tromey.com> | Mon Feb 12 14:25:03 2024 -0700 |
committer | Tom Tromey <tom@tromey.com> | Mon Feb 12 16:25:37 2024 -0700 |
tree | 41ee18a16ef5c433c58f63d686a8006b86aed6c9 | |
parent | e25a613437218e60854241e95e8028343a983d92 [diff] |
Do not call fputc from _bfd_doprnt I noticed that _bfd_doprnt can unconditionally call fputc. However, when called from error_handler_sprintf, this will likely result in a crash, as the stream argument does not actually point to a FILE. * bfd.c (_bfd_doprnt): Do not call fputc.