It is quite complicated.
Texastrader posted the risks involved in this type of transaction in Feb this year.