Overview

Artifact ID: 3bf1ca7d5eea9a6e0a737050d95e65697d922e29
Ticket: dfdae6533576eeeb07184fb7af43b15078d1670a
Associating variable with bignum value with scale crashes it
User & Date: anonymous 2017-10-02 16:57:58
Changes

  1. Change foundin to "8.6.6"
  2. Change icomment to:

    $ wish % pack [scale .s] % set fooie 5.79e99 5.79e99 % .s config -variable fooie *** buffer overflow detected ***: wish terminated ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x70bcb)[0x7f29259aabcb] /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f2925a33227] /lib/x86_64-linux-gnu/libc.so.6(+0xf7360)[0x7f2925a31360] /lib/x86_64-linux-gnu/libc.so.6(+0xf6919)[0x7f2925a30919] /lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0xac)[0x7f29259aebdc] /lib/x86_64-linux-gnu/libc.so.6(+0x4be81)[0x7f2925985e81] /lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0xf32)[0x7f2925981c32] /lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x8c)[0x7f2925a309ac] .... 7f2927dad000-7f2927dae000 rw-p 00024000 08:08 3014738 /lib/x86_64-linux-gnu/ld-2.24.so 7f2927dae000-7f2927daf000 rw-p 00000000 00:00 0 7ffc9d5d4000-7ffc9d5f5000 rw-p 00000000 00:00 0 [stack] 7ffc9d5fa000-7ffc9d5fc000 r--p 00000000 00:00 0 [vvar] 7ffc9d5fc000-7ffc9d5fe000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Aborted $ Haven't bothered to include whole stack trace as it is so easy to reproduce This was on Linux, same thing happens on Mac OS but not Windows

  3. Change login to "anonymous"
  4. Change mimetype to "text/plain"
  5. Change private_contact to "21e680c66afc6863cbbaf0aa5b26c9e8a4429339"
  6. Change severity to "Important"
  7. Change status to "Open"
  8. Change title to:

    Associating variable with bignum value with scale crashes it

  9. Change type to "Code_Defect"