octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #54912] gethostname must not be called from wi


From: anonymous
Subject: [Octave-bug-tracker] [bug #54912] gethostname must not be called from within DllMain on Win32 systems
Date: Mon, 29 Oct 2018 12:15:18 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:62.0) Gecko/20100101 Firefox/62.0

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

                 Summary: gethostname must not be called from within DllMain
on Win32 systems
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 29 Oct 2018 04:15:16 PM UTC
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Performance
                  Status: None
             Assigned to: None
         Originator Name: Octave user
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Dear Octave developers,

Please forgive me for posting this again (
54571 <https://savannah.gnu.org/bugs/?54571>) but I was afraid that it would
be lost otherwise.

The patch in the attached file avoids calling WSAStartup within DllMain and
therefore fixes possible deadlocks or use of uninitialized modules as
described in [https://docs.microsoft.com/de-de/windows/desktop/Dlls/dllmain].

If you have any doubts about this patch, please let me know.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 29 Oct 2018 04:15:16 PM UTC  Name: octave-gethostname2.patch  Size:
11KiB   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=45322>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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