Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Commit

Permalink
Linux change only: Valgrind suppression addition. (#1083)
Browse files Browse the repository at this point in the history
The function uDeviceIsValidInstance() deliberately checks a potentially uninitialised integer for a magic number; this should not be reported as an error when running under Valgrind.
  • Loading branch information
RobMeades authored Jan 26, 2024
1 parent cd03192 commit 978d3a0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions port/platform/linux/valgrind.supp
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,10 @@
fun:uPortTaskCreate
fun:uDebugUtilsInitInactivityDetector
...
}
{
uDeviceIsValidInstance() deliberately checks a potentially uninitialised integer for a magic number
Memcheck:Addr4
fun:uDeviceIsValidInstance
...
}

0 comments on commit 978d3a0

Please sign in to comment.