Project

General

Profile

« Previous | Next » 

Revision 53bbad5d

Added by David Smith over 13 years ago

  • ID 53bbad5de7dbdb7febb9add8357c4d63f38a12c9

Be sure that check_buf() updates the event record pointer after a realloc.

Without this change, if realloc() moved the buffer around (instead of
just lengthening it), the current event record pointer will point to
the old address, not the new. This can happen if an event record is
added, then two event parameter are added (the 2nd causing a
realloc()).

  • added
  • modified
  • copied
  • renamed
  • deleted