From nobody Sun Aug 07 08:58:28 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M0tXj0fRJz4YG9Q for ; Sun, 7 Aug 2022 08:58:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M0tXh5VmJz4363 for ; Sun, 7 Aug 2022 08:58:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M0tXh4RDyz15Kc for ; Sun, 7 Aug 2022 08:58:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2778wSKC046561 for ; Sun, 7 Aug 2022 08:58:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2778wSr4046560 for bugs@FreeBSD.org; Sun, 7 Aug 2022 08:58:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 265685] exp-run request: libc: expose a primitive version of b64_pton() Date: Sun, 07 Aug 2022 08:58:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pstef@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: exp-run? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659862708; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iPrwwbhDkJIJlx1Jsirm9aNtPz6Qu4H7t/Mae/myZeY=; b=iDI3MHzfrBP3UhXZS6rPyL45fP+pO0SGRVUlCr5xktFMIIqOsca00l8GdhL/KYt00Nq/nB KOz3x69pTuG8eB14cuaDlWajKMdDNEEi9D/xzl78Sst6qZZ/Ayl7K+oPep+NO2Dco9Lkcd DUI0P3T99HEW7ig9mc9m5MLeFw9LLZ0ezQ+UgbLhXVBwaq3UwEQjnm1PUSssrb05wPqq9l aSqkvzh6z8zg+UDrP/S1zTfzWpR/ceuad0WYCAa+7QeCcYE887ZkXuR/13nsYjXEbKiFR7 xIpR6wrrw0fgzqLhp/bsXvaasg9UgPF10aeHMHueWay6zZ4hMh56YHx9rDisOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659862708; a=rsa-sha256; cv=none; b=WwPI89GXIjeD16LzSHKQcoNjsxU0GZpiIOvBVM7iSD1BOx5ChFmJhHAVRHSZLxKpEuRR7A K0DnaSQ1z0LSQ6IuaU6l+6wWoqRtERxh4Vsa9aV7BBhFmW0rL46WehMbByaF8hfue3YshI bF0g72+nTqI3oDKiqiay0A+FfLajOfV9OLbZ9TGJFuaMyQKOsNUMTQEyr9zJB+IFoarja/ aOXfcAlGpQSApeEZA7TE1okYE+c/OR0BbxKAxYVkl4EA9IDed4Ow29ayXVWcGLw3RRozsp FiGjJNG2u4WXtgyPMKrTOYH3w4KaJMGWlS34t3ZHUKkI9o8vcN3ugPp1USM59A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265685 Bug ID: 265685 Summary: exp-run request: libc: expose a primitive version of b64_pton() Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: pstef@freebsd.org Flags: exp-run? Created attachment 235738 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D235738&action= =3Dedit Patch implementing the change. b64_pton_partial() takes a pointer to pointer and will update it while decoding. Then the caller will be able to copy the correctly decoded part, even if decoding another part yielded an error and aborted the process. --=20 You are receiving this mail because: You are the assignee for the bug.=