Ticket #497 (closed defect: fixed)

Opened 15 months ago

Last modified 4 months ago

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

Changed 4 months ago by phk

  • status changed from new to closed
  • resolution set to fixed

I belive this has been fixed, otherwise more concrete evidence is necessary.

Note: See TracTickets for help on using tickets.