[FB-Tracker] Created: (CORE-2722) Storage of malformed blob is allowed when copying from a blob with NONE/OCTETS charset

View: New views
1 Messages — Rating Filter:   Alert me  

[FB-Tracker] Created: (CORE-2722) Storage of malformed blob is allowed when copying from a blob with NONE/OCTETS charset

by JIRA tracker@firebirdsql.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Storage of malformed blob is allowed when copying from a blob with NONE/OCTETS charset
--------------------------------------------------------------------------------------

                 Key: CORE-2722
                 URL: http://tracker.firebirdsql.org/browse/CORE-2722
             Project: Firebird Core
          Issue Type: Bug
          Components: Charsets/Collation, Engine
    Affects Versions: 1.5.6, 2.1.3, 2.5 Beta 2,  2.5 Beta 1, 2.1.2, 2.0.5, 2.1.1, 2.5 Alpha 1, 2.0.4, 2.1.0, 1.5.5, 2.0.3, 2.0.2, 2.0.1, 1.5.4, 2.0.0
            Reporter: Adriano dos Santos Fernandes


Test case:

create table t (b1 blob sub_type text, b2 blob sub_type text character set utf8);

-- This is correct and raise "Malformed string" error
insert into t (b2) values (x'F0');

insert into t (b1) values (x'F0');

-- This store a malformed blob
update t set b2 = b1;

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel