ack/util/ego/ud
George Koehler b1d1b5e1f8 Fix bugs with memory allocation in ego.
cf/cf_loop.c and share/put.c tried to read the next pointer in an
element of a linked list after freeing the element.  ud/ud_copy.c
tried to read beyond the end of the _defs_ array: it only has
_nrexpldefs_ elements, not _nrdefs_ elements.

These bugs caused core dumps on OpenBSD.  Its malloc() put _defs_ near
the end of a page, so reading beyond the end crossed into an unmapped
page.  Its free() wrote junk bytes and changed the next pointer to
0xdfdfdfdfdfdfdfdf.
2016-09-09 23:37:43 -04:00
..
ud.c Rationalised use of #includes to be more standards-compliant. 2006-07-22 00:46:16 +00:00
ud.h Header --> Id 1994-06-24 11:31:16 +00:00
ud_aux.c Header --> Id 1994-06-24 11:31:16 +00:00
ud_aux.h Header --> Id 1994-06-24 11:31:16 +00:00
ud_const.c Header --> Id 1994-06-24 11:31:16 +00:00
ud_const.h Header --> Id 1994-06-24 11:31:16 +00:00
ud_copy.c Fix bugs with memory allocation in ego. 2016-09-09 23:37:43 -04:00
ud_copy.h Header --> Id 1994-06-24 11:31:16 +00:00
ud_defs.c Header --> Id 1994-06-24 11:31:16 +00:00
ud_defs.h Header --> Id 1994-06-24 11:31:16 +00:00