[Top][All Lists]

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

Re: [PATCH] mktime: avoid infinite loop

From: Eric Blake
Subject: Re: [PATCH] mktime: avoid infinite loop
Date: Sat, 29 Jan 2011 10:49:47 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 01/27/2011 10:12 AM, Eric Blake wrote:
> * m4/mktime.m4 (AC_FUNC_MKTIME): Avoid undefined arithmetic on
> possibly-signed type.
> Reported by Rich Felker.
> Signed-off-by: Eric Blake <address@hidden>
> ---
> Does this look like a correct port of the intprops.h principles
> over to this test?
>  ChangeLog    |    7 +++++++
>  m4/mktime.m4 |   20 +++++++++++---------
>  2 files changed, 18 insertions(+), 9 deletions(-)

I've gone ahead and applied this patch as-is; we can tweak it later if
we also decide to tweak "intprops.h".

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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