gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-devel] [bug #53147] NULL value of onlyversion option causing a


From: Mohammad Akhlaghi
Subject: [gnuastro-devel] [bug #53147] NULL value of onlyversion option causing a crash
Date: Tue, 13 Feb 2018 16:34:20 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0

URL:
  <http://savannah.gnu.org/bugs/?53147>

                 Summary: NULL value of onlyversion option causing a crash 
                 Project: GNU Astronomy Utilities
            Submitted by: makhlaghi
            Submitted on: Tue 13 Feb 2018 10:34:18 PM CET
                Category: All Gnuastro
                Severity: 3 - Normal
              Item Group: Crash
                  Status: In Progress
                 Privacy: Public
             Assigned to: makhlaghi
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53147>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]