bugGNU Octave - Bugs: bug #54912, gethostname must not be called...

 
 

bug #54912: gethostname must not be called from within DllMain on Win32 systems

Submitter:  None
Submitted:  Mon 29 Oct 2018 04:15:16 PM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Performance
Status:  Duplicate Assigned to:  None
Originator Name:  Octave user Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.4.1
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 30 Oct 2018 07:41:00 PM UTC, comment #1: 

You are forgiven, but there is no need to open another bug report, the original report is still open and is sufficient for discussing this change. Closing this as a duplicate of bug #54571.

Mike Miller <mtmiller>
Group Member
Mon 29 Oct 2018 04:15:16 PM UTC, original submission:  

Dear Octave developers,

Please forgive me for posting this again (
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.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #45322:  octave-gethostname2.patch added by None (11KiB - application/octet-stream)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

CC list is empty

 

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 group members can vote.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2018-10-30 mtmiller StatusNone Duplicate
    Open/ClosedOpen Closed
    Dependencies- Depends on bugs #54571
2018-10-29 None Attached File- Added octave-gethostname2.patch, #45322

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code