lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 30 Nov 2017 09:27:31 -0500 (EST)
From:   David Miller <davem@...emloft.net>
To:     arnd@...db.de
Cc:     y2038@...ts.linaro.org, 3chas3@...il.com,
        linux-atm-general@...ts.sourceforge.net, ruchandani.tina@...il.com,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] atm: mpoa: remove 32-bit timekeeping

From: Arnd Bergmann <arnd@...db.de>
Date: Mon, 27 Nov 2017 15:02:17 +0100

> From: Tina Ruchandani <ruchandani.tina@...il.com>
> 
> net/atm/mpoa_* files use 'struct timeval' to store event
> timestamps. struct timeval uses a 32-bit seconds field which will
> overflow in the year 2038 and beyond. Morever, the timestamps are being
> compared only to get seconds elapsed, so struct timeval which stores
> a seconds and microseconds field is an overkill. This patch replaces
> the use of struct timeval with time64_t to store a 64-bit seconds field.
> 
> Signed-off-by: Tina Ruchandani <ruchandani.tina@...il.com>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ