Task #5853 (closed)
Opened 13 years ago
Closed 13 years ago
Bug: C++ dereferences beyond available vector
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.3 |
Component: | OmeroCpp | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-06-16 (14) |
Description
The generated methods (in combined.vm) for ordered collections behave badly:
image.pixelsSeq[0];
These should all be replaced with calls to .at(index) in order to throw out_of_range exceptions.
Change History (1)
comment:1 Changed 13 years ago by jmoore <josh@…>
- Remaining Time changed from 0.1 to 0
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
(In [73f492e688468d8c6c81939beb66d3130b5632fd/ome.git] on branch develop) Use at for vector lookups in OmeroCpp (Fix #5853)