bugGNU Astronomy Utilities - Bugs: bug #53147, NULL value of onlyversion option...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #53147: NULL value of onlyversion option causing a crash

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Tue 13 Feb 2018 09:34:18 PM UTC
   
 
Category:  All Gnuastro Severity:  3 - Normal
Item Group:  Crash Status:  Fixed
Privacy:  Public Assigned to:  makhlaghi
Open/Closed:  Closed

Tue 13 Feb 2018 10:00:54 PM UTC, comment #1: 

The bug has been fixed and pushed to the main repo.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Tue 13 Feb 2018 09:34:18 PM UTC, original submission:  

The definition of the `--onlyversion' option is unique in that its `value' pointer was set to `NULL' instead of pointing to somewhere in memory.

As a result, when `--onlyversion' is called, this option's `set' value will be `1', but its pointer still NULL, this causes a crash when we are checking to see if the user wants to print the option values or not.

Mohammad Akhlaghi <makhlaghi>
Group administrator

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-02-13 makhlaghi StatusIn Progress Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code