On 05-Mar-10 07:37, Andreas Jochens wrote: > Please try the attached patch which has the missing amendment of > the memory allocation statement for 'ExtendedTable'.
The previous patch was still wrong. Please try the attached one. Sorry for the confusion. Regards Andreas Jochens diff -urN ../tmp-orig/chrony-1.20/addrfilt.c ./addrfilt.c --- ../tmp-orig/chrony-1.20/addrfilt.c 2002-03-01 00:27:08.000000000 +0100 +++ ./addrfilt.c 2005-03-10 08:41:29.280151238 +0100 @@ -45,7 +45,7 @@ struct _TableNode; -typedef struct _TableNode ExtendedTable[TABLE_SIZE]; +typedef struct _TableNode *ExtendedTable; typedef enum {DENY, ALLOW, AS_PARENT} State; @@ -124,7 +124,7 @@ if (node->extended == NULL) { - node->extended = MallocNew(ExtendedTable); + node->extended = malloc(sizeof(struct _TableNode)*TABLE_SIZE); for (i=0; i<TABLE_SIZE; i++) { child_node = &((*(node->extended))[i]); diff -urN ../tmp-orig/chrony-1.20/debian/control ./debian/control --- ../tmp-orig/chrony-1.20/debian/control 2005-03-10 08:42:39.027548022 +0100 +++ ./debian/control 2005-03-09 14:11:34.000000000 +0100 @@ -3,7 +3,7 @@ Priority: extra Maintainer: John Hasler <[EMAIL PROTECTED]> Standards-Version: 3.5.8.0 -Build-Depends: debhelper, libreadline4-dev, texinfo, bison +Build-Depends: debhelper, libreadline5-dev, texinfo, bison Package: chrony Architecture: any -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]