Erlang/OTP Forums

Author Message

<  Erlang bugs mailing list  ~  R12 emulator crashes with zero-length port_control binary

Guest
Posted: Wed May 26, 2010 1:57 am Reply with quote
Guest
If a linked-in driver returns 0 to a port_control call and
PORT_CONTROL_FLAG_BINARY is set then the beam emulator will probably
crash or otherwise misbehave.

Attached is a patch for those who are stuck on R12 and might get
bitten by this. Tested on R12B-3, applies also to R12B-5.

It's already fixed (in a different way) in R13+

/Simon


Post received from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum