GNU bug report logs - #36596
27.0.50; `hash-table-count' can return a negative value

Previous Next

Package: emacs;

Reported by: Pip Cet <pipcet <at> gmail.com>

Date: Thu, 11 Jul 2019 13:18:02 UTC

Severity: normal

Tags: patch

Found in version 27.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pip Cet <pipcet <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; `hash-table-count' can return a negative value
Date: Thu, 11 Jul 2019 13:17:10 +0000
[Message part 1 (text/plain, inline)]
The attached obvious patch fixes a "trivial oversight" in fns.c, where
we forgot to rehash a dumped table before accessing its ->count.
[0001-Avoid-returning-negative-numbers-from-hash-table-cou.patch (text/x-patch, attachment)]

This bug report was last modified 5 years and 312 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.