Menu

#3 Server dies when you use a browser

v0.9.5
open-fixed
Server (1)
5
2002-04-14
2002-04-12
Anonymous
No

When pointing a web browser at the armidale server,
it dies...

We use a web browser to connect to the armidale
server and the armidale server give an error (NULL)
and quits....

Discussion

  • Shayne R Flint

    Shayne R Flint - 2002-04-13
    • priority: 5 --> 9
    • milestone: --> v0.9.5
    • assigned_to: nobody --> shayneflint
    • status: open --> open-rejected
     
  • Shayne R Flint

    Shayne R Flint - 2002-04-14
    • priority: 9 --> 5
    • status: open-rejected --> closed-fixed
     
  • Shayne R Flint

    Shayne R Flint - 2002-04-14

    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.

     
  • Shayne R Flint

    Shayne R Flint - 2002-04-14
    • status: closed-fixed --> pending-fixed
     
  • Shayne R Flint

    Shayne R Flint - 2002-04-14
    • status: pending-fixed --> open-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB