Menu

#163 Crash in dami::convert if iconv_open fails

happens every time
open
nobody
7
2005-11-03
2005-03-14
atgraham
No

iconv_close() performs a free() of the object returned
by iconv_open(). In dami::convert, the close gets
called regardless of whether or not the open succeeds,
thus causing it to attempt to free(-1). The fix is
straightforward, but here is a patch anyway.

Discussion

  • atgraham

    atgraham - 2005-03-14

    Patch to fix crash

     
  • atgraham

    atgraham - 2005-11-03
    • priority: 5 --> 7
     

Log in to post a comment.