Commit: 3c20aa6c2ff1980f82c9546117be898515088a37
Parent: 6bc584b11b8b10dbd717ca4012a6c09afb18d1c7
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-06-16 22:52:00
Tree: 3f76ba636b4bea8cb48771fd9180bfa239d8ba39

iso-tester: Fix crashing while attemping to access isodata Some tests may not set any isodata causing the following crash: Invalid read of size 1 at 0x40067A8: setup_powered_callback (iso-tester.c:1691) by 0x40232D5: request_complete (mgmt.c:306) by 0x40242B3: can_read_data (mgmt.c:394) by 0x4028529: watch_callback (io-glib.c:173) by 0x493D87F: ??? (in /usr/lib64/libglib-2.0.so.0.8400.2) by 0x49467A7: ??? (in /usr/lib64/libglib-2.0.so.0.8400.2) by 0x4946A4E: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.8400.2) by 0x402ABFD: mainloop_run (mainloop-glib.c:65) by 0x402B1D4: mainloop_run_with_signal (mainloop-notify.c:196) by 0x402A3F5: tester_run (tester.c:1076) by 0x40050FE: main (iso-tester.c:4010) Address 0xa8 is not stack'd, malloc'd or (recently) free'd

Diffstat

M tools/iso-tester.c | 10 +++++++- - -

1 files changed, 7 insertions(+), 3 deletions(-)

View Full Diff | Patch