[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
certtool endless loop in expiration_days
From: |
Stefan Bühler |
Subject: |
certtool endless loop in expiration_days |
Date: |
Fri, 15 Nov 2013 18:03:35 +0100 |
Hi,
expiration_days = 36500
in a certtool template config leads to an endless loop as it overflows
and tries again forever.
a) it should fail with an error instead of looping; also signed integer
overflow is undefined: check it manually before instead of checking
the result. (days * 24 * 60 * 60 is where the overflow happens, as days
is only an integer)
b) it should really support large expiration values; ideally it should
also support the "no well-defined expiration date" 99991231235959Z
somehow.
regards,
Stefan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- certtool endless loop in expiration_days,
Stefan Bühler <=