[Aide] Question about report output

Richard van den Berg richard at vdberg.org
Wed Nov 29 15:02:25 EET 2006


Pablo Virolainen wrote:
> See attachment for human readable output (yeah.. not the prittiest code)

Well, it's also buggy. It gave me a nasty segfault after removing an
attribute in aide.conf and then running a --check:

(gdb) bt
#0  0x000000000045ca90 in strlen ()
#1  0x0000000000446b14 in vfprintf ()
#2  0x0000000000402e51 in error (errorlevel=<value optimized out>,
    error_msg=0x4c6c88 "File %s%s%s in databases has different
attributes
%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s"...)
    at error.c:229
#3  0x00000000004044d6 in print_attr_diff (errorlevel=405504,
    filename1=0x624060 "/tmp/foo",
    filename2=0xfefefefefefefeff <Address 0xfefefefefefefeff out of bounds>,
    attr1=<value optimized out>, attr2=<value optimized out>) at db.c:181
#4  0x000000000040bb49 in add_file_to_tree (tree=0x6201a0, file=0x630a50,
    db=4, status=<value optimized out>, attr=<value optimized out>)
    at gen_list.c:1221
#5  0x000000000040be12 in populate_tree (tree=0x6201a0) at gen_list.c:1529
#6  0x0000000000410ec0 in main (argc=<value optimized out>,
    argv=<value optimized out>) at aide.c:573

If you can fix this, let me know and I will try again.

> and my try to solve the whirlpool problem. At least, AIDE seems to build
> ok whith older mhash library.

Thanks, I've added this code to CVS. Michael: can you test this code on
Fedora with mhash 0.9.2?

Sincerely,

Richard van den Berg


More information about the Aide mailing list