On 10/20/2016 08:19 AM, Nick Clifton wrote:
Hi Guys,
Whilst experimenting with writing a plugin for gcc I discovered that
I could cause a segfault if I attempted to register a PLUGIN_INFO
callback with any name other than the name of the plugin. The
attached patch fixes this problem and produces an error message
instead.
OK to apply ?
Cheers
Nick
gcc/ChangeLog
2016-10-20 Nick Clifton <ni...@redhat.com>
* plugin.c (register_plugin_info): Produce an error message if the
plugin is not found in the hash table.
OK.
jeff