#235 Fix segfault in case of an empty db connection string

trunk
closed-fixed
core (47)
5
2014-08-14
2012-07-19
No

If db connection string is shorter than SHORTEST_DB_URL_LEN required then program jumps to the error handles where performs resource freeing. In this case this will lead to a memory corruption/segfault since the object to be freed wasn't properly initialized yet.

Discussion

  • Bogdan-Andrei Iancu

    Hi Peter,

    Thanks for the reporting and patch - I applied the patch in a slightly modified version, but mainly doing the same. The fix is on trunk, 1.8 and 1.7

    Best regards,
    Bogdan

     
  • Bogdan-Andrei Iancu

    • milestone: --> trunk
    • assigned_to: nobody --> bogdan_iancu
    • status: open --> closed-fixed
     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks