version: repeater16082013.zip 16-Aug-2013 23:25 203K
test on Windows SP3
I found where it happens
file "webgui\settings.c"
This procedure is throwing an exception and system crash:
Code: Select all
void win_log(char *line) { /* Also used in log.c */
struct LIST *curr=NULL;
int len;
static int log_len=0;
len=strlen(line);
curr=(struct LIST *)malloc(sizeof(struct LIST)+len);
curr->len=len;
strcpy(curr->txt, line);
curr->next=NULL;
if(tail)
tail->next=curr;
tail=curr;
if(!head)
head=tail;
log_len++;
while(log_len>LOG_LINES) {
curr=head;
head=head->next;
free(curr); <------------------------------------------- exception here
log_len--;
}
}