[PATCH 2/2] sprinter: change integer method to use int64_t

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Feb 20 09:23:35 PST 2020


On Thu 2020-02-13 19:13:51 -0400, David Bremner wrote:
> Peter Wang <novalazy at gmail.com> writes:
>
>> In particular, timestamps beyond 2038 could overflow the sprinter
>> interface on systems where time_t is 64-bit but 'int' is a signed 32-bit
>> integer type.
>
> Series pushed to master.

I'm a bit slow following up on this, but just wanted to say thanks to
Peter for his fix here.  This kind of additional robustness is
definitely appreciated, even well before Y2038.  And especially in the
face of malicious input, which is basically the only thing that notmuch
deals with!

       --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20200220/2183eeda/attachment.sig>


More information about the notmuch mailing list