This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3] gcc/ubsan.c: Use 'pretty_print' for 'pretty_name' to avoid memory overflow


If necessary to add related test case, please let me know.

Thanks.

Send from Lenovo A788t.

Jakub Jelinek <jakub@redhat.com> wrote:

>On Mon, Nov 24, 2014 at 04:28:10PM +0800, Chen Gang wrote:
>> On 11/24/14 15:41, Jakub Jelinek wrote:
>> > On Sun, Nov 23, 2014 at 09:13:27AM +0800, Chen Gang wrote:
>> 
>> [...]
>> 
>> >> +	      else
>> >> +		pp_wide_int(&pretty_name,
>> >> +			    wi::add (wi::to_widest (TYPE_MAX_VALUE (dom)), 1),
>> >> +			    TYPE_SIGN (TREE_TYPE (dom)));
>> > 
>> > Space still missing before ( (and reindenting the following 2 lines).
>> > 
>> 
>> Oh, thanks, if necessary to send patch v4, please let me know.
>
>No, just fix it up before checking in.
>
>	Jakub

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]