[Aide] Reproducible SIGSEGVs with 0.11 release on OpenBSD 3.9-REL

Axel Rau Axel.Rau at Chaos1.DE
Wed May 17 12:53:59 EEST 2006


The attached patch of gen_list.c in add_file_to_tree fixes 3  
occurrences,
where file-> attr was touched after it has been released.
This fixes the SIGSEGVs, seen on OpenBSD.

Am 11.05.2006 um 23:12 schrieb Axel Rau:

> For me,  "file" has been released premature:
> ---------------------------------------------------------------------- 
> --
...
>
> (gdb) p file->attr
> Cannot access memory at address 0x7c380160

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gen_list.patch
Type: application/octet-stream
Size: 974 bytes
Desc: not available
Url : https://mailman.cs.tut.fi/pipermail/aide/attachments/20060517/6da02e37/gen_list.obj
-------------- next part --------------

Axel
Axel Rau, ?Frankfurt , Germany                       +49-69-951418-0




More information about the Aide mailing list