Custom Query (245 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (43 - 45 of 245)

Ticket Resolution Summary Owner Reporter
#57 invalid Dynamic libraries cannot be freed when sockets (at least) are used bird Yuri Dario
Description

When a dll uses a socket function (but not only in this case), the dll cannot be unloaded by DosFreeModule?(), usually rc=12 (ERROR_INVALID_ACCESS) is returned. This leaves the dll file locked by the process, and it can be replaced only after process end (unlocking the dll is not enough, the current process will still use the old dll).

Sample code included in the attachment (source and binaries).

#58 fixed libc: closed standard handles cause uninitialized stdout/stdin/stderr streams bird bird
Description

smoketests/fclose-1.c exhibit a problem where the parent closes one or more of the standard handles before spawning a child or execing. The child will then end up with an the stream for those handles uninitialized, and any attempt to use them will panic libc.

#60 fixed libc: filehandle inheritance doesn't work right! bird bird
Description

There is a bug in the file handle inheritance code (exec/spawn) where iFH isn't incremented as the inherited data is traversed. So, stdin get's what ever flags applies to the last handle in the inherit chunk. bad bad bad!

Note: See TracQuery for help on using queries.