[Bug 265685] exp-run request: libc: expose a primitive version of b64_pton()

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 07 Aug 2022 08:58:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265685

            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=235738&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.