Bug#653047: jshashtable.h uses UINT32_MAX without including jsstdint.h

Michael Biebl biebl at debian.org
Fri Dec 23 02:53:44 UTC 2011


Package: libmozjs-dev
Version: 9.0.1-1
Severity: serious
File: /usr/include/mozjs/jshashtable.h

$ grep UINT32_MAX *
jshashtable.h:        JS_STATIC_ASSERT((sMaxCapacity * sInvMaxAlpha) <= UINT32_MAX);
jshashtable.h:        JS_STATIC_ASSERT((sMaxCapacity * sizeof(Entry)) <= UINT32_MAX);
jsstdint.h:#define UINT32_MAX 4294967295U

$ grep jsstdint.h jshashtable.h

This breaks software using that header, thus RC severity



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libmozjs-dev depends on:
ii  libmozjs9d    9.0.1-1
ii  libnspr4-dev  4.8.9-1

libmozjs-dev recommends no packages.

libmozjs-dev suggests no packages.

-- no debconf information





More information about the pkg-mozilla-maintainers mailing list