CVE-2026-76956: Getentropy Inverted Bool Returncve-2026-76956-getentropy-inverted-bool-return
getentropy() returns 0 on success and -1 on error. Directly assigning or casting its return value to a boolean inverts the success check, treating success (0) as false and failure (-1) as true. Check for success explicitly with `getentropy(...) == 0`.