1 --- freehdl-0.0.8.orig/kernel/sigacl_list.cc 2002-01-02 16:20:57.000000000 +0200
2 +++ freehdl-0.0.8/kernel/sigacl_list.cc 2020-03-30 00:16:36.155392220 +0300
4 sigacl_list::sigacl_list(int size) {
6 list = new _items[size];
14 sigacl_list::add(sig_info_base *s, acl *a) {
15 + if (count >= list_size)
17 + std::cout << "WARNING: sigacl_list::add()" << "\n" << "list index greater than list length\n" ;
21 list[count].signal = s;
22 - list[count].aclp = a->clone();
23 + if (a != NULL) list[count].aclp = a->clone();
24 + else list[count].aclp = NULL;
28 --- freehdl-0.0.8.orig/freehdl/kernel-sigacl-list.hh 2000-02-03 16:50:59.000000000 +0200
29 +++ freehdl-0.0.8/freehdl/kernel-sigacl-list.hh 2020-03-30 00:16:34.923370868 +0300
31 sigacl_list(int size);
33 void add(sig_info_base *s, acl *a = NULL);
40 --- freehdl-0.0.8.orig/kernel/dump.cc 2006-07-19 22:35:05.000000000 +0300
41 +++ freehdl-0.0.8/kernel/dump.cc 2020-03-30 00:16:36.243393745 +0300
44 dump_buffer << dumped_name;
48 for (int i = 0; i < a->get_size(); i++)
49 dump_buffer << "(" << a->get(i) << ")";
51 reader_pointer = s->reader_pointer;
56 reader_pointer = s->type->element(s->reader_pointer, a);
57 type = s->type->get_info(s->reader_pointer, a);