From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 29CC3385C335; Thu, 29 Sep 2022 19:13:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 29CC3385C335 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1664478834; bh=0YKOuDpA6Ged+9/7lpaCFWu3Igfeo7AdIusfzZyWrik=; h=From:To:Subject:Date:From; b=rT4yq464UssY8++ipgFRGj7GnDmKR6Kkd90Q6chMhBg8spRmN2knY9K69NBcRrW66 FjMXFVvhOSYoWCSHS/avIwUjw+N2k2FNzNH5r7PUrptOIvn4D3DS6BaDmuR1QWSvG6 aEwWiaeFdRHRoHRUP/gFQXgnA+awErOmWafBt23U= From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/29638] New: stdlib: arc4random fallback is never used Date: Thu, 29 Sep 2022 19:13:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.36 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29638 Bug ID: 29638 Summary: stdlib: arc4random fallback is never used Product: glibc Version: 2.36 Status: NEW Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: adhemerval.zanella at linaro dot org CC: drepper.fsp at gmail dot com Target Milestone: --- If getrandom syscall returns -1/ENOSYS the fallback is never used due an erroneous type used for __getrandom_nocancel and on arc4random (it should be ssize_t on both cases). --=20 You are receiving this mail because: You are on the CC list for the bug.=