List:Commits« Previous MessageNext Message »
From:Sergei Golubchik Date:October 26 2007 8:20pm
Subject:Re: bk commit into 5.0 tree (knielsen:1.2488) BUG#31799
View as plain text  
Hi!

On Oct 24, knielsen@stripped wrote:
> ChangeSet@stripped, 2007-10-24 09:26:25+02:00, knielsen@ymer.(none) +4 -0
>   BUG#31799: Scrambled number output due to integer overflow
>   
>   An integer overflow in number->string conversion caused completely
>   wrong output of the number LONGLONG_MIN with gcc 4.2.1.
>   
>   Fixed by eliminating the overflow, using only operations that are
>   well-defined in ANSI C.

Where does the standard say that the result is undefined ?
I wasn't able to find it :(
 
Regards / Mit vielen Grüssen,
Sergei

-- 
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /   Sergei Golubchik <serg@stripped>
 / /|_/ / // /\ \/ /_/ / /__  Principal Software Developer
/_/  /_/\_, /___/\___\_\___/  MySQL GmbH, Dachauer Str. 37, D-80335 München
       <___/                  Geschäftsführer: Kaj Arnö - HRB
München 162140
Thread
bk commit into 5.0 tree (knielsen:1.2488) BUG#31799knielsen24 Oct
  • Re: bk commit into 5.0 tree (knielsen:1.2488) BUG#31799Sergei Golubchik26 Oct
    • Re: bk commit into 5.0 tree (knielsen:1.2488) BUG#31799Kristian Nielsen27 Oct
  • Re: bk commit into 5.0 tree (knielsen:1.2488) BUG#31799Sergei Golubchik29 Oct