Project

General

Profile

Actions

Bug #570

open

Fix all the cases when structs are compared with memcmp

Added by Anastasia Klimchuk 1 day ago.

Status:
New
Priority:
Normal
Category:
-
Target version:
Start date:
11/21/2024
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

Description

This won't work as expected if struct contains pointers (including char pointers), but also if struct has padding.

A known instance of this is https://github.com/flashrom/flashrom/blob/main/libflashrom.c#L346 (if dump branch), but there could be more.

No data to display

Actions

Also available in: Atom PDF