#1933: stat opcode causes program crash on Win32 with invalid file descriptor
-------------------------+--------------------------------------------------
Reporter: whiteknight | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: none | Version: master
Severity: medium | Keywords:
Lang: | Patch:
Platform: win32 |
-------------------------+--------------------------------------------------
Comment(by nwellnhof):
The passed INTVAL is converted to a Windows file handle which is a void *.
I don't think it's possible to check if a handle is valid, so there's no
way to avoid crashes.
IMO, we simply shouldn't use raw filehandles and deprecate that opcode.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1933#comment:2>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets