bugfindutils - Bugs: bug #64717, find-4.9.0: aborted after...

 
 

bug #64717: find-4.9.0: aborted after assertion at line 3179 of parser.c

Submitter:  None
Submitted:  Tue 26 Sep 2023 12:03:18 PM UTC
   
 
Category:  find Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  berny
Originator Name:  Jaehan Yoon Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.9.0
Fixed Release:  4.10.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 30 Sep 2023 01:02:06 PM UTC, comment #1: 

Nice catch!
Fixed with the attached and pushed at:
https://git.savannah.gnu.org/cgit/findutils.git/commit/?id=2841c3a82a4

(file #55179)

Bernhard Voelker <berny>
Group administrator
Tue 26 Sep 2023 12:03:18 PM UTC, original submission:  

On find-4.9.0, "find -amin NAN" results in abortion.

I get terminal outputs as follow:
find: ../../find/parser.c:3149: get_relative_timestamp: Assertion `nanosec < nanosec_per_sec' failed.
Aborted

I think correct result should be same with result of "find -amin na" as:
find: invalid argument 'NAN' to '-amin'

same result occured with input like: find -amin "NAN" and I've got same result in previous versions, 4.7.0 and 4.8.0.
I attach the image file containing terminal output.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #55179:  0001-find-diagnose-NaN-arguments-better.patch added by berny (5KiB - text/x-patch - [PATCH] find: diagnose NaN arguments better)
file #55170:  find_report.png added by None (11KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by berny (Updated the item)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-06-01 berny Open/ClosedOpen Closed
        Fixed ReleaseNone 4.10.0
    2023-09-30 berny Attached File- Added 0001-find-diagnose-NaN-arguments-better.patch, #55179
        StatusNone Fixed
        Assigned toNone berny
    2023-09-26 None Attached File- Added find_report.png, #55170

    Back to the top

    Powered by Savane 3.14-8eb0.
    Corresponding source code