gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] small fix to avoid integer overflow


From: Robert Millan
Subject: [PATCH] small fix to avoid integer overflow
Date: Sat, 17 Mar 2012 11:36:06 +0100

Hi,

Please consider casting the result of get_days() to time_t before
converting it to seconds (rather than afterwards). Otherwise it
becomes affected by Y2K38 bug unnecessarily.

-- 
Robert Millan

Attachment: expiration_days_overflow.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]