[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #954: openssl egg is tripping on utf8, someplace
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #954: openssl egg is tripping on utf8, someplace |
Date: |
Fri, 04 Jan 2013 03:08:44 -0000 |
#954: openssl egg is tripping on utf8, someplace
-------------------------+--------------------------------------------------
Reporter: sethalves | Owner:
Type: defect | Status: new
Priority: minor | Milestone: someday
Component: extensions | Version: 4.8.x
Resolution: | Keywords: openssl utf8
-------------------------+--------------------------------------------------
Comment(by zbigniew):
I haven't tested this, but try the attached patch if you can. The issue
appears to be a sign error; C_make_character effectively expects int (or
an unsigned char). If passed a regular char with high bit set, that's a
negative value, which is sign-extended when converted to int and then
treated as unicode.
--
Ticket URL: <http://bugs.call-cc.org/ticket/954#comment:1>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- Re: [Chicken-janitors] #954: openssl egg is tripping on utf8, someplace,
Chicken Trac <=