[ruby-cvs:72788] shyouhei:r65688 (trunk): suppress integer overflow warnings

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Tue Nov 13 09:40:52 JST 2018


shyouhei	2018-11-13 09:40:52 +0900 (Tue, 13 Nov 2018)

  New Revision: 65688

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65688

  Log:
    suppress integer overflow warnings
    
    * random.c: annotate rb_hash_start with NO_SANITIZE (seed.key.hash + h
      overflows and that seems intentional)
    * bignum.c: avoid (size_t)--
    * cont.c: ditto
    * util.c: ditto
    * vm_insnhelper.c: ditto

  Modified files:
    trunk/bignum.c
    trunk/cont.c
    trunk/random.c
    trunk/util.c
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list