Bug 123650
| Summary: | [PATCH] b64encode() doesn't like leading NUL (was 'tgpg' fails to check some packages) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Enrico Scholz <rh-bugzilla> | ||||
| Component: | beecrypt | Assignee: | Paul Nasrat <nobody+pnasrat> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Mike McLean <mikem> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | CC: | mattdm, mitr, wtogami | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 4.1.2-7 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2005-05-17 18:36:46 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 123268, 136451 | ||||||
| Attachments: |
|
||||||
|
Description
Enrico Scholz
2004-05-19 20:09:06 UTC
Fedora Core 2 is now maintained by the Fedora Legacy project for security updates only. If this problem is a security issue, please reopen and reassign to the Fedora Legacy product. If it is not a security issue and hasn't been resolved in the current FC3 updates or in the FC4 test release, reopen and change the version to match. gnupg-1.4.1-1 handles the rpm armored output correctly, but that looks like the two bugs cancelling each other. The RPM output doesn't seem to be a valid ASCII armor, beecrypt's fault. Created attachment 113689 [details]
Don't return "" for binary data starting with NUL
The attached patch (I'll send it upstream shortly) fixes b64encode().
The check for "" is invalid for binary data. For NUL-terminated
data it is superfluous, the function does the right thing for zero-length
data anyway.
Paul, if you want me to build an updated package, just yell.
Mitr - if you could build a beecrypt with this in that'd be great. Thanks |