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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Pip Cet <pipcet <at> gmail.com>
Subject: bug#36596: closed (Re: 27.0.50; `hash-table-count' can return a
 negative value)
Date: Sun, 14 Jul 2019 04:49:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#36596: 27.0.50; `hash-table-count' can return a negative value

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 36596 <at> debbugs.gnu.org.

-- 
36596: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36596
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pip Cet <pipcet <at> gmail.com>
Cc: 36596-done <at> debbugs.gnu.org
Subject: Re: 27.0.50; `hash-table-count' can return a negative value
Date: Sat, 13 Jul 2019 21:47:58 -0700
Thanks, I installed that patch.

[Message part 3 (message/rfc822, inline)]
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 4 (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 311 days ago.

Previous Next


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