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

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

Date:Thu, 20 Feb 2020 12:23:35 -0500

To:David Bremner ,Peter Wang ,notmuch@notmuchmail.org

Cc:

From:Daniel Kahn Gillmor


On Thu 2020-02-13 19:13:51 -0400, David Bremner wrote:
> Peter Wang <novalazy@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
signature.asc (application/pgp-signature)
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: