gnuastro-devel
[Top][All Lists]
Advanced

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

[bug #66090] Library: endless loop in gal_data_copy if size=0


From: Giacomo Lorenzetti
Subject: [bug #66090] Library: endless loop in gal_data_copy if size=0
Date: Wed, 14 Aug 2024 14:56:47 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?66090>

                 Summary: Library: endless loop in gal_data_copy if size=0
                   Group: GNU Astronomy Utilities
               Submitter: glorenzetti
               Submitted: mié 14 ago 2024 18:56:44
                Category: Libraries
                Severity: 3 - Normal
              Item Group: Crash
                  Status: In Progress
                 Privacy: Public
             Assigned to: glorenzetti
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: mié 14 ago 2024 18:56:44      By: Giacomo Lorenzetti <glorenzetti>
In the case of an empty non-NULL array in the input struct (say, an array
allocated with `malloc(size * sizeof(int))`, where `size` is a variable
computed elsewhere that may be zero; note also that the behaviour of
`malloc(0)` is implementation defined!) the program is stuck.







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66090>

_______________________________________________
Mensaje enviado vía Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

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