Ticket #497 (closed defect: fixed)
Overflow in vrt_assemble_string
| Reported by: | sky | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | build | Version: | trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description
If you run out of workspace in vrt_assemble_string this isn't caught until after the memory allocation is done. WS_Reserve(0) reserves all the space left, not necessarily how much you need.
If this happen there is an assertion that gets called after the byte modification is made.
When we add error handling code to the out of memory situation, WS_Reserve(0) should probably be removed.
Change History
Note: See
TracTickets for help on using
tickets.
