#1378 openhpi client library crashes on wrong session id

2.12.0
closed-fixed
5
2008-07-18
2008-07-16
No

The openhpi clien library is crashing on passing the wrong session id. This problem is found while running the saftest suite on openhpi-2.11.4.

The crash is happening in openhpid/oh_client_session.cpp at line number 208. Wrong session id from HPI user is not properly handled.

The patch for this problem attached.

Discussion

  • Raghavendra PG

    Raghavendra PG - 2008-07-16
     
    Attachments
  • peter dinh phan

    peter dinh phan - 2008-07-17
    • milestone: 831934 --> 2.12.0
     
  • Bryan Sutula

    Bryan Sutula - 2008-07-17
    • assigned_to: thkanne --> sutula
     
  • Bryan Sutula

    Bryan Sutula - 2008-07-18

    Logged In: YES
    user_id=814412
    Originator: NO

    The final patch (Commit revision 6850) ended up being somewhat more complicated, in order to try to return accurate error codes. Otherwise, the code is similar to the attached patch.

     
  • Bryan Sutula

    Bryan Sutula - 2008-07-18
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks