First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 226067
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Forensics Herd <forensics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Horst Prote <prote@fmi.uni-stuttgart.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
chkrootkit.diff diff between the original and corrected chkrootkit script patch Horst Prote 2008-06-12 13:40 0000 910 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 226067 depends on: Show dependency tree
Bug 226067 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-06-12 13:38 0000
In its "shell history anomalies" part chkrootkit collects two lists of
anomalous history files:
- $files: file size is zero
- $files1: is linked to another file
But when the according warning is written both times $files is used.
For details see the attached diff.

Reproducible: Always

Steps to Reproduce:
None of the files target, .link-history and .empty-history should exist.
1. echo Hallo > target
2. ln target .link-history
3. touch .empty-history
4. chkrootkit

Actual Results:  
...
Searching for anomalies in shell history files... Warning:
`//root/.empty-history' file size is zero
Warning: `//root/.empty-history' is linked to another file
...

Expected Results:  
...
Searching for anomalies in shell history files... Warning:
`//root/.empty-history' file size is zero
Warning: `//root/.link-history' is linked to another file
...

------- Comment #1 From Horst Prote 2008-06-12 13:40:09 0000 -------
Created an attachment (id=156497) [details]
diff between the original and corrected chkrootkit script

------- Comment #2 From Peter Volkov 2008-10-06 19:46:21 0000 -------
Fixed in chkrootkit-0.48. Thank you for report and fix.

First Last Prev Next    No search results available      Search page      Enter new bug