Daniel Müller 3ecde2182a libbpf: Fix theoretical u32 underflow in find_cd() function
Coverity reported a potential underflow of the offset variable used in
the find_cd() function. Switch to using a signed 64 bit integer for the
representation of offset to make sure we can never underflow.

Fixes: 1eebcb60633f ("libbpf: Implement basic zip archive parsing support")
Signed-off-by: Daniel Müller <deso@posteo.net>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20230307215504.837321-1-deso@posteo.net
2023-03-07 15:30:47 -08:00
..
2023-03-06 20:36:39 -08:00
2023-02-03 13:54:22 -03:00
2023-01-21 17:52:26 +00:00
2023-03-06 20:36:39 -08:00
2023-02-21 17:32:50 -08:00
2023-03-06 20:36:39 -08:00
2023-02-23 10:20:49 -08:00