Fixed for 0.9.6. If anyone wants the fix now, please email the author at shayne@cs.anu.edu.au
We were not checking that message types were valid before reading the message length. When a browser connects to armidale, it sends a message which armidale interprets as having a huge length. This huge length caused an OutOfMemory error on the server.
We now check that all messages are valid before reading the rest of the message. Invalid messages cause the connection to close.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=306335
Fixed for 0.9.6. If anyone wants the fix now, please email the author at shayne@cs.anu.edu.au
We were not checking that message types were valid before reading the message length. When a browser connects to armidale, it sends a message which armidale interprets as having a huge length. This huge length caused an OutOfMemory error on the server.
We now check that all messages are valid before reading the rest of the message. Invalid messages cause the connection to close.