Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006261OCamlOCaml backend (code generation)public2013-12-04 21:222014-06-05 10:25
Reporterchambart 
Assigned Tochambart 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version4.01.0 
Target Version4.02.0+devFixed in Version 
Summary0006261: bound checking bug for the string_{get,set}{16,32,64} primitives
DescriptionThere is a problem with bound checking in those primitives when (size - index) is lower than 0.

This can be solved quite cheaply by the provided patch.
Additional InformationThe bytecode part has already been solved by Gabriel Schrer
Tagspatch
Attached Filespatch file icon 0001-bound-checking-bug-with-caml_string_-get-set-16-32-6.patch [^] (1,161 bytes) 2013-12-04 21:22 [Show Content]
patch file icon 0002-bound-checking-bug-with-caml_string_-get-set-16-32-6.patch [^] (9,375 bytes) 2013-12-04 21:22 [Show Content]

- Relationships

-  Notes
(0010691)
chambart (developer)
2013-12-04 21:23

The second patch is an addition to the testsuite.
(0011675)
chambart (developer)
2014-06-05 10:23

Fixed in trunk and 4.02

- Issue History
Date Modified Username Field Change
2013-12-04 21:22 chambart New Issue
2013-12-04 21:22 chambart Status new => assigned
2013-12-04 21:22 chambart Assigned To => chambart
2013-12-04 21:22 chambart File Added: 0001-bound-checking-bug-with-caml_string_-get-set-16-32-6.patch
2013-12-04 21:22 chambart File Added: 0002-bound-checking-bug-with-caml_string_-get-set-16-32-6.patch
2013-12-04 21:23 chambart Note Added: 0010691
2014-02-19 16:55 doligez Tag Attached: patch
2014-05-25 20:20 doligez Target Version 4.01.1+dev => 4.02.0+dev
2014-06-05 10:23 chambart Note Added: 0011675
2014-06-05 10:25 chambart Status assigned => resolved
2014-06-05 10:25 chambart Resolution open => fixed


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker