Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1378 openhpi client library crashes on wrong session id

2.12.0
closed-fixed
Bryan Sutula
5
2008-07-18
2008-07-16
Raghavendra PG
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
    • 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