Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#53489 closed defect (fixed)

`port lint` bails on epoch values not fitting into a 32bit integer

Reported by: kurthindenburg (Kurt Hindenburg) Owned by: Ionic (Mihai Moldovan)
Priority: Normal Milestone: MacPorts 2.4.1
Component: base Version:
Keywords: Cc:
Port:

Description

port lint fossil

Error: Port epoch is not numeric:  20110901182519

I'm not clear if this actually causes issue w/ the port

Change History (4)

comment:1 Changed 8 years ago by Ionic (Mihai Moldovan)

Component: portsbase
Owner: changed from ci42 to Ionic
Port: fossil removed
Status: newaccepted
Summary: fossil port issue with epoch`port lint` bails on epoch values not fitting into a 32bit integer

comment:2 Changed 8 years ago by Mihai Moldovan <ionic@…>

Resolution: fixed
Status: acceptedclosed

In eb0a577/macports-base:

misc src/: switch from "string is integer" to "string is entier".

The "string is integer" check bails out of the passed data does not fit
in an 32bit (signed) integer data type. Contrary to that, "string is
entier" has bignum support and no constraints on the actual value.

All this said, sqlite3 might fail if the value doesn't fit into a signed
8-byte-integer, but we don't actually have a recovery plan for that
yet... and beside port lint, we don't check for such an overflow in
the first place.

Fixes: #53489

comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

comment:4 Changed 8 years ago by jmroot (Joshua Root)

Milestone: MacPorts 2.4.1
Note: See TracTickets for help on using tickets.