Bug#630341: rhino: Incorrect handling of denormalized numbers

Witold Baryluk baryluk at smp.if.uj.edu.pl
Mon Jun 13 05:49:54 UTC 2011


Package: rhino
Version: 1.7R2-4
Severity: important

Probably some memory corruption in to string conversion

js> m = 2.2250738585072014e-308
2.2250738585072014e-308
js> m * 0.99
F.028231199221293e-309
js> m * 0.999
F.228487846486944e-309
js> m * 0.98
E.805723813370573e-309
js> m * 0.95
E.13820165581841e-309
js> m * 0.91
D.248172112415536e-309
js> m * 0.8
A.80059086805761e-309
js> m * 0.5
;.125369292536007e-309
js> m * 0.4
8.900295434028804e-309
js> m * 0.6
=.35044315104321e-309
js> m * 0.7
?.57551700955041e-309
js>


Regards,
Witek



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-1-686-pae (SMP w/1 CPU core)
Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8) (ignored: LC_ALL set to pl_PL.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rhino depends on:
ii  default-jre-headless [java5 1:1.6-40     Standard Java or Java compatible R
ii  gcj-4.4-jre-headless [java5 4.4.6-6      Java runtime environment using GIJ
ii  gcj-4.6-jre-headless [java5 4.6.0-13     Java runtime environment using GIJ
ii  gij-4.3 [java5-runtime-head 4.3.4-4      The GNU Java bytecode interpreter
ii  libjline-java               0.9.94-5     Java library for handling console 
ii  openjdk-6-jre-headless [jav 6b18-1.8.7-5 OpenJDK Java runtime, using Hotspo
ii  sun-java6-jre [java5-runtim 6.26-1       Sun Java(TM) Runtime Environment (

rhino recommends no packages.

Versions of packages rhino suggests:
pn  rhino-doc                     <none>     (no description available)

-- no debconf information





More information about the pkg-java-maintainers mailing list