Bug 1048134 - decode_utf8() returns gibberish on non-string value
Summary: decode_utf8() returns gibberish on non-string value
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Encode
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: https://rt.cpan.org/Public/Bug/Displa...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-03 09:30 UTC by Petr Pisar
Modified: 2014-02-05 23:22 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
: 1048147 (view as bug list)
Environment:
Last Closed: 2014-02-05 23:22:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 91569 0 None None None Never

Description Petr Pisar 2014-01-03 09:30:53 UTC
$ perl -e 'use Encode; print decode_utf8(*foo), qq{\n}'
Wide character in print at -e line 1.
0 AH��@��
[...]

Expected value is '*main::foo'.

Fixed in upstream version 2.56 with commit:

commit 14307cf7e433056128727f5d738ee317ef05b016
Author: Dan Kogai <dankogai+github>
Date:   Sun Dec 22 13:07:05 2013 +0900

    VERSION 2.56

Fedora < 21 are affected.

Comment 1 Fedora Update System 2014-01-03 09:52:30 UTC
perl-Encode-2.54-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/perl-Encode-2.54-2.fc20

Comment 2 Fedora Update System 2014-01-03 09:53:01 UTC
perl-Encode-2.54-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/perl-Encode-2.54-2.fc19

Comment 3 lnie 2014-01-06 02:33:33 UTC
2.54-2.fc20 works fine

Comment 4 Fedora Update System 2014-01-12 05:00:46 UTC
perl-Encode-2.54-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2014-01-21 05:48:10 UTC
perl-Encode-2.54-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora End Of Life 2014-02-05 23:22:06 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.