[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gas SEGV reporting an error + patch
From: |
Alan Modra |
Subject: |
Re: gas SEGV reporting an error + patch |
Date: |
Mon, 17 Jul 2006 22:20:10 +0930 |
User-agent: |
Mutt/1.4i |
On Tue, Jul 11, 2006 at 03:30:16PM -0400, Mat Hostetter wrote:
> The bug is that 'report_op_error' incorrectly uses 'file' and 'line'
> in the 'else' case where they are not initialized. Because the value
> of 'file' is garbage, it is of course somewhat random whether you will
> see a crash.
>
> The fix is trivial: since there is no location information available,
> use 'as_bad' instead of 'as_bad_where', as it was already doing for
> other errors in the 'else' case.
Applied. Thanks!
--
Alan Modra
IBM OzLabs - Linux Technology Centre