Debian Bug report logs -
#426505
"find -mtime [+-n]" is broken (behaves as "-mtime n")
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Andreas Metzler <ametzler@debian.org>:
Bug#426505; Package findutils.
(full text, mbox, link).
Acknowledgement sent to "Roderich Schupp" <roderich.schupp@googlemail.com>:
New Bug report received and forwarded. Copy sent to Andreas Metzler <ametzler@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: findutils
Version: 4.3.6-1
Severity: normal
"find -mtime [+-]n" is broken:
$ date
Tue May 29 00:33:37 CEST 2007
$ find 2007-05-2* -type f -ls
1986025 4 -rw-r--r-- 1 schupp users 210 May 25 19:54
2007-05-25/JOBS
1995532 4 -rw-r--r-- 1 schupp users 141 May 26 20:40
2007-05-26/JOBS
1997118 4 -rw-r--r-- 1 schupp users 197 May 27 18:48
2007-05-27/JOBS
9429 4 -rw-r--r-- 1 schupp users 625 May 28 21:12
2007-05-28/JOBS
$ find 2007-05-2* -type f -mtime -3 -ls
1986025 4 -rw-r--r-- 1 schupp users 210 May 25 19:54
2007-05-25/JOBS
$ find 2007-05-2* -type f -mtime -2 -ls
1995532 4 -rw-r--r-- 1 schupp users 141 May 26 20:40
2007-05-26/JOBS
$ find 2007-05-2* -type f -mtime -1 -ls
1997118 4 -rw-r--r-- 1 schupp users 197 May 27 18:48
2007-05-27/JOBS
Results are the same if I replace -n with +n, or just n (in which case
the results
are correct). This behaviour is a regression from 4.3.5-1.
Cheers, Roderich
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.21.3 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages findutils depends on:
ii libc6 2.5-8 GNU C Library: Shared libraries
findutils recommends no packages.
-- no debconf information
Message sent on to "Roderich Schupp" <roderich.schupp@googlemail.com>:
Bug#426505.
(full text, mbox, link).
Message #8 received at 426505-submitter@bugs.debian.org (full text, mbox, reply):
URL:
<http://savannah.gnu.org/bugs/?20005>
Summary: find -mtime [+-n]" is broken (behaves as "-mtime
n")
Project: findutils
Submitted by: ametzler
Submitted on: Dienstag 29.05.2007 um 20:00
Category: find
Severity: 3 - Normal
Item Group: Wrong result
Status: None
Privacy: Public
Assigned to: None
Originator Name: Roderich Schupp
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.3.6
Fixed Release: None
_______________________________________________________
Details:
This is http://bugs.debian.org/426505 submitted by Roderich Schupp. There is
nothing to add, I have verified his findings. (Thanks, Roderich!)
cu andreas
----------------------------------------------------
Package: findutils
Version: 4.3.6-1
Severity: normal
"find -mtime [+-]n" is broken:
$ date
Tue May 29 00:33:37 CEST 2007
$ find 2007-05-2* -type f -ls
1986025 4 -rw-r--r-- 1 schupp users 210 May 25 19:54
2007-05-25/JOBS
1995532 4 -rw-r--r-- 1 schupp users 141 May 26 20:40
2007-05-26/JOBS
1997118 4 -rw-r--r-- 1 schupp users 197 May 27 18:48
2007-05-27/JOBS
9429 4 -rw-r--r-- 1 schupp users 625 May 28 21:12
2007-05-28/JOBS
$ find 2007-05-2* -type f -mtime -3 -ls
1986025 4 -rw-r--r-- 1 schupp users 210 May 25 19:54
2007-05-25/JOBS
$ find 2007-05-2* -type f -mtime -2 -ls
1995532 4 -rw-r--r-- 1 schupp users 141 May 26 20:40
2007-05-26/JOBS
$ find 2007-05-2* -type f -mtime -1 -ls
1997118 4 -rw-r--r-- 1 schupp users 197 May 27 18:48
2007-05-27/JOBS
Results are the same if I replace -n with +n, or just n (in which case the
results are correct). This behaviour is a regression from 4.3.5-1.
Cheers, Roderich
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?20005>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
Message sent on to "Roderich Schupp" <roderich.schupp@googlemail.com>:
Bug#426505.
(full text, mbox, link).
Message #13 received at 426505-submitter@bugs.debian.org (full text, mbox, reply):
Update of bug #20005 (project findutils):
Severity: 3 - Normal => 4 - Important
Status: None => Fixed
Assigned to: None => jay
_______________________________________________________
Follow-up Comment #1:
Fixed in CVS.
(file #12909)
_______________________________________________________
Additional Item Attachment:
File name: sv-bug-20005.patch Size:3 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?20005>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Message sent on to "Roderich Schupp" <roderich.schupp@googlemail.com>:
Bug#426505.
(full text, mbox, link).
Message #16 received at 426505-submitter@bugs.debian.org (full text, mbox, reply):
Update of bug #20005 (project findutils):
Open/Closed: Open => Closed
Fixed Release: None => 4.3.7
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?20005>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Reply sent to Andreas Metzler <ametzler@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to "Roderich Schupp" <roderich.schupp@googlemail.com>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #21 received at 426505-close@bugs.debian.org (full text, mbox, reply):
Source: findutils
Source-Version: 4.3.8-1
We believe that the bug you reported is fixed in the latest version of
findutils, which is due to be installed in the Debian FTP archive:
findutils_4.3.8-1.diff.gz
to pool/main/f/findutils/findutils_4.3.8-1.diff.gz
findutils_4.3.8-1.dsc
to pool/main/f/findutils/findutils_4.3.8-1.dsc
findutils_4.3.8-1_i386.deb
to pool/main/f/findutils/findutils_4.3.8-1_i386.deb
findutils_4.3.8.orig.tar.gz
to pool/main/f/findutils/findutils_4.3.8.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 426505@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Metzler <ametzler@debian.org> (supplier of updated findutils package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 23 Jun 2007 09:05:25 +0200
Source: findutils
Binary: findutils
Architecture: source i386
Version: 4.3.8-1
Distribution: experimental
Urgency: low
Maintainer: Andreas Metzler <ametzler@debian.org>
Changed-By: Andreas Metzler <ametzler@debian.org>
Description:
findutils - utilities for finding files--find, xargs, and locate
Closes: 400936 426505 426862
Changes:
findutils (4.3.8-1) experimental; urgency=low
.
* New upstream version 4.3.8.
- Fixes locate heap buffer overflow when using databases in old format.
(CVE-2007-2452) Closes: #426862
- Fixes savannah bug #20005: Tests -mtime -n and -mtime +n incorrectly
treated like -mtime n. Closes: #426505
- Correct docs for %b printf specifier. (Closes: #400936)
* Pulled from CVS: 01_sv-bug-20139.dpatch:
find -[acm]time -N (wrongly) includes files from N days ago, as well as
(correctly) from less than N days ago.
Files:
7418440bf585ca1a81608b5e02a9a96a 660 utils required findutils_4.3.8-1.dsc
b5e4f88b7b5502460c62c04f94df613d 1808049 utils required findutils_4.3.8.orig.tar.gz
c6f9eba8827ab672be030c54f2f87e97 15321 utils required findutils_4.3.8-1.diff.gz
e4628ee6738ab0b8aa72f62357071fdb 607064 utils required findutils_4.3.8-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGfNK4HTOcZYuNdmMRAtIFAJ4sPgqEvYB7z0Y79v/dfSuhQflZogCgqWhK
IUiufQ5/Su4LPnbY12aYITc=
=rqRs
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 22 Jul 2007 07:25:47 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Dec 23 16:17:15 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.