[Tcl-bugs] [Tcl] (jan.nijtmans) tkt (New): Regression in SQLite test-suite

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Tcl-bugs] [Tcl] (jan.nijtmans) tkt (New): Regression in SQLite test-suite

akupries
Automated mail by fx, on behalf of [hidden email]

Ticket Change [5c8a55da0d07ec9d98249ea5fdef84910cc1a969]
  [Regression in SQLite test-suite]
  By      jan.nijtmans
  For     Tcl
  On      2017-07-13T15:00:42.371
  Details https://core.tcl.tk/tcl/tinfo?name=5c8a55da0d07ec9d98249ea5fdef84910cc1a969
  Ticket  https://core.tcl.tk/tcl/tktview/293344d4f3e07f7f9da93db4b967abed8122bd42

Changed Fields
  assignee:   nobody
  closer:     nobody
  comment:    When running the latest SQLite test-suite there was a regression in 2
              test-cases, one of them:  badutf2-4.1.5...  ! badutf2-4.1.5 expected:
              [\\u0080]  ! badutf2-4.1.5 got: [\\uFF80]

              bisecting Tcl pointed to commit [7351fc0c9c], but - actually - there's
              nothing wrong with this commit. Further investigation resulted in the
              observation that the macro TclUtfToUniChar() contained a mistake: If
              'str' points to a signed character (which it normally does), a
              character in the range \\x80-\\xC0 results in an unicode character in
              the range \\xFF80-\\xFFC0 ... this is clearly wrong.

              Conclusion: this is a long-standing bug in the TclUtfToUniChar()
              macro, which was never discovered because there was no test-case
              touching this.  Commit [7351fc0c9c] merely exposed this bug in the
              SQLite test-suite.
  foundin:    core-8-6-branch
  is_private: 0
  login:      jan.nijtmans
  priority:   5 Medium
  resolution: None
  severity:   Minor
  status:     Open
  submitter:  jan.nijtmans
  subsystem:  - New Builtin Commands
  title:      Regression in SQLite test-suite
  type:       Bug

------------------------------------------------------------
See Tcl/Tk development @ http://core.tcl.tk/
------------------------------------------------------------

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Tcl-Bugs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tcl-bugs
Loading...