Created attachment 405088 [details] Patch Changes int to long long unsigned Description of problem: The compare_dbline functions returns an int, even though it can contain numbers larger than type int. For example, DB_SELINUX, DB_XATTRS, and DB_WHIRLPOOL are all larger than the int return value. Version-Release number of selected component (if applicable): aide-0.13.1-6 How reproducible: Every Time Steps to Reproduce: 1. echo "/test u+selinux" >> /etc/aide.conf 2. mkdir /test 3. touch /test/test.1 4. aide --init 5. cp /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz 6. chcon -t etc_t /test/test.1 7. aide --check Actual results: AIDE, version 0.13.1 ### All files match AIDE database. Looks okay! Expected results: AIDE, version 0.13.1 AIDE found differences between database and filesystem!! --------------------------------------------------- Changed files: --------------------------------------------------- changed: /test/test.1 File: /test/test.1 SELinux : user_u:object_r:default_t:s0 , user_u:object_r:etc_t:s0
Isn't it a duplicate of bug 644185?
Yeah, it seems that rhbz#644185 is a duplicate of this bug.
*** Bug 644185 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-1119.html