[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue 52047 in oss-fuzz: gpsd:FuzzPacket: Undefined-shift in packet_
From: |
Miroslav Lichvar |
Subject: |
Re: Issue 52047 in oss-fuzz: gpsd:FuzzPacket: Undefined-shift in packet_parse |
Date: |
Tue, 4 Oct 2022 15:59:17 +0200 |
On Sat, Oct 01, 2022 at 02:35:22PM -0700, Gary E. Miller wrote:
> Yo ClusterFuzz-External!
>
> This one is comlaining about an integer overflow while computing a
> chacksum. Well, the whole point of checksums iss integer overflow!
Overflow is defined only for unsigned integers. Is the variable
signed? I don't have access to the full report, but I see "short sum"
in parse_packet().
BTW, I think you can disable UBSAN for your project in oss-fuzz if you
don't like the reports.
--
Miroslav Lichvar