interimap timeval packing is broken on armhf with t64

Bug #2059120 reported by Simon Chopin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
interimap (Debian)
Confirmed
Unknown
interimap (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

interimap packs a timeval to pass as a socket timeout, but it uses 'l!l!' as a template. That's broken when time_t != long.

Simon Chopin (schopin)
Changed in interimap (Ubuntu):
status: New → Fix Committed
tags: added: time-t
tags: added: update-excuse
Changed in interimap (Debian):
status: Unknown → New
Revision history for this message
Simon Chopin (schopin) wrote : RE: [Bug 2059120] Re: interimap timeval packing is broken on armhf with t64

So, the fix is actually itself broken, because I don't actually know
Perl and just skimmed through the pack() documentation. Oh well.

On mer. 27 mars 2024 16:59:38, Bug Watch Updater wrote:
> ** Changed in: interimap (Debian)
> Status: Unknown => New
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2059120
>
> Title:
> interimap timeval packing is broken on armhf with t64
>
> Status in interimap package in Ubuntu:
> Fix Committed
> Status in interimap package in Debian:
> New
>
> Bug description:
> interimap packs a timeval to pass as a socket timeout, but it uses
> 'l!l!' as a template. That's broken when time_t != long.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/interimap/+bug/2059120/+subscriptions
>
> Launchpad-Notification-Type: bug
> Launchpad-Bug: distribution=ubuntu; sourcepackage=interimap; component=universe; status=Fix Committed; importance=Undecided; assignee=None;
> Launchpad-Bug: distribution=debian; sourcepackage=interimap; component=main; status=New; importance=Unknown; assignee=None;
> Launchpad-Bug-Tags: time-t update-excuse
> Launchpad-Bug-Information-Type: Public
> Launchpad-Bug-Private: no
> Launchpad-Bug-Security-Vulnerability: no
> Launchpad-Bug-Commenters: schopin
> Launchpad-Bug-Reporter: Simon Chopin (schopin)
> Launchpad-Bug-Modifier: Bug Watch Updater (bug-watch-updater)
> Launchpad-Message-Rationale: Subscriber
> Launchpad-Message-For: schopin
>

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package interimap - 0.5.7-2ubuntu2

---------------
interimap (0.5.7-2ubuntu2) noble; urgency=medium

  * Fix the time_t fixes

 -- Simon Chopin <email address hidden> Thu, 28 Mar 2024 14:49:31 +0100

Changed in interimap (Ubuntu):
status: Fix Committed → Fix Released
Changed in interimap (Debian):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.