[Piglit] [PATCH] shader_runner: fix parsing float/double hex values

Dave Airlie airlied at gmail.com
Tue Feb 10 13:15:23 PST 2015


On 10 February 2015 at 08:50, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> It seems like when parsing a value like 0xc0d1cbdd371d381f with strtoll,
> it returns 0x7fffffffffffffff, presumably because it goes out of bounds.
> I guess this issue didn't happen with float, but seems safe to fix it as
> well.
>
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>

Reviewed-by: Dave Airlie <airlied at redhat.com>


More information about the Piglit mailing list