Native port driver BSoD

I did some tests, replacing back the if condition to wLentgth==8, and with the full patch provided by Louis David,
here the results:

OS **wLength==8 ** LD patch
Win 7 ultimate (64) OK OK
Linux Ubuntu 11.04 (32) OK OK
MacOS 10.7.2 OK OK
MacOS 10.6.8 No Serial Port No Serial Port

With my Windows box I didn't experienced the BSoD, so probably both patches solves it as already reported in this thread.

For now I stick to what Leonardo do:

can you check if the latest ide-1.5.x solves the BSoD?

I'd like to apply the patch of Louis David, but I don't remember why the condition (with the duplicated descriptor) was introduced, I should clear that before.

Besides that, the question now is: what's the matter with macosx 10.6.8? Has anyone access to such SO and can explain what's happening?