[MacPorts] #53489: `port lint` bails on epoch values not fitting into a 32bit integer
MacPorts
noreply at macports.org
Sat Feb 4 18:58:22 UTC 2017
#53489: `port lint` bails on epoch values not fitting into a 32bit integer
-----------------------------+--------------------
Reporter: kurthindenburg | Owner: Ionic
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: base | Version:
Resolution: fixed | Keywords:
Port: |
-----------------------------+--------------------
Changes (by Mihai Moldovan <ionic@…>):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"eb0a577a2e93b4d3520a9e753c256739f450d7c6/macports-base"
eb0a577/macports-base]:
{{{
#!ConfigurableCommitTicketReference repository="macports-base"
revision="eb0a577a2e93b4d3520a9e753c256739f450d7c6"
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: https://trac.macports.org/ticket/53489
}}}
--
Ticket URL: <https://trac.macports.org/ticket/53489#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list