[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/30444] Implementation of COFF/PE format lacks base64 suppo
From: |
jose.marchesi at oracle dot com |
Subject: |
[Bug binutils/30444] Implementation of COFF/PE format lacks base64 support (Extended COFF Object) |
Date: |
Tue, 16 May 2023 10:52:49 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30444
--- Comment #12 from Jose E. Marchesi <jose.marchesi at oracle dot com> ---
(In reply to Sven from comment #8)
> (In reply to Jose E. Marchesi from comment #7)
> > While implementing this in GNU poke [1] I noticed that the base64 value
> > encoded in ASCII after the // is mutilated, since in order to fit in six
> > characters it is omitting the trailing two padding characters ==.
>
> Yes, the padding is omitted. But according to section 3.2 of RFC 4648, the
> padding is optional if so desired. Any RFC compliant decoder should work.
>
> Also see https://en.wikipedia.org/wiki/Base64#Variants_summary_table
Ok, this is worse than I thought :)
Given the section name //AAph7S, the corresponding base64 to decode is
00AAph7S, _not_ AAph7S==.
Found it the hard way while implementing this in BFD.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/30444] Implementation of COFF/PE format lacks base64 support (Extended COFF Object), (continued)
- [Bug binutils/30444] Implementation of COFF/PE format lacks base64 support (Extended COFF Object), jose.marchesi at oracle dot com, 2023/05/14
- [Bug binutils/30444] Implementation of COFF/PE format lacks base64 support (Extended COFF Object), sven.koehler at gmail dot com, 2023/05/14
- [Bug binutils/30444] Implementation of COFF/PE format lacks base64 support (Extended COFF Object), sven.koehler at gmail dot com, 2023/05/14
- [Bug binutils/30444] Implementation of COFF/PE format lacks base64 support (Extended COFF Object), jose.marchesi at oracle dot com, 2023/05/14
- [Bug binutils/30444] Implementation of COFF/PE format lacks base64 support (Extended COFF Object), jose.marchesi at oracle dot com, 2023/05/14
- [Bug binutils/30444] Implementation of COFF/PE format lacks base64 support (Extended COFF Object), jose.marchesi at oracle dot com, 2023/05/14
- [Bug binutils/30444] Implementation of COFF/PE format lacks base64 support (Extended COFF Object), sven.koehler at gmail dot com, 2023/05/15
- [Bug binutils/30444] Implementation of COFF/PE format lacks base64 support (Extended COFF Object), jose.marchesi at oracle dot com, 2023/05/15
- [Bug binutils/30444] Implementation of COFF/PE format lacks base64 support (Extended COFF Object), sven.koehler at gmail dot com, 2023/05/15
- [Bug binutils/30444] Implementation of COFF/PE format lacks base64 support (Extended COFF Object), jose.marchesi at oracle dot com, 2023/05/15
- [Bug binutils/30444] Implementation of COFF/PE format lacks base64 support (Extended COFF Object),
jose.marchesi at oracle dot com <=
- [Bug binutils/30444] Implementation of COFF/PE format lacks base64 support (Extended COFF Object), sven.koehler at gmail dot com, 2023/05/16
- [Bug binutils/30444] Implementation of COFF/PE format lacks base64 support (Extended COFF Object), jose.marchesi at oracle dot com, 2023/05/16
- [Bug binutils/30444] Implementation of COFF/PE format lacks base64 support (Extended COFF Object), sven.koehler at gmail dot com, 2023/05/16
- [Bug binutils/30444] Implementation of COFF/PE format lacks base64 support (Extended COFF Object), sven.koehler at gmail dot com, 2023/05/25
- [Bug binutils/30444] Implementation of COFF/PE format lacks base64 support (Extended COFF Object), cvs-commit at gcc dot gnu.org, 2023/05/31