[PATCH] math: enhance the endloop condition of function handle_input_flag

liqingqing liqingqing3@huawei.com
Thu Nov 7 06:59:00 GMT 2019



On 2019/11/7 8:32, Joseph Myers wrote:
> On Mon, 28 Oct 2019, liqingqing wrote:
> 
>>     review the source code of function "handle_input_flag" and found that the
>> endloop condition is not correct,
>> cause when the loop variable " i " euqal to 16, then the input_flags[16] will
>> be out of bounds.
>> though I  think for now the inputs maybe all right, but just enhanced it.
> 
> Thanks, committed with a somewhat edited commit message.  Note: I had to 
> apply the patch manually as it appears your mailer inserted some Unicode 
> space characters in it.  Patches inserted in the body of an email need to 
> be verbatim with no whitespace changes from the email client for it to be 
> possible to apply them, so if that's a problem they should be attached 
> rather than included directly in the body of the email.
> 

I think maybe the default_charset is not utf-8?



More information about the Libc-alpha mailing list