db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-5036) [patch] fix impossible comparison due to sign extension
Date Mon, 14 Feb 2011 06:46:57 GMT
[patch] fix impossible comparison due to sign extension

                 Key: DERBY-5036
                 URL: https://issues.apache.org/jira/browse/DERBY-5036
             Project: Derby
          Issue Type: Bug
          Components: Network Server
    Affects Versions:
            Reporter: Dave Brosius
            Priority: Minor
             Fix For:

code does 

	byte b = reader.readByte();
	if (b == 0xF1)
		database.sendTRGDFTRT = true;

due to sign extension, this test will never be true.


This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message