From noreply at rubyforge.org Sat Feb 11 12:19:31 2006 From: noreply at rubyforge.org (noreply@rubyforge.org) Date: Sat, 11 Feb 2006 18:19:31 +0100 Subject: [ idn-Bugs-3088 ] Interpreter crash with an invalid node in nodeprep Message-ID: <200602111719.k1BHJVqZ021271@rubyforge.org> Bugs item #3088, was opened at 2005-12-23 10:04 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=3633&aid=3088&group_id=924 Category: General Group: Latest Release >Status: Closed Resolution: Accepted Priority: 3 Submitted By: Lucas Nussbaum (lucas) Assigned to: Erik Abele (erikabele) Summary: Interpreter crash with an invalid node in nodeprep Initial Comment: >We are trying to use your libidn bindings with XMPP4R. Great. >I ran into a problem with libidn ruby bindings. The following test >case >causes an interpreter crash : > def test_invalidnode > assert_raises(IDN::Stringprep::StringprepError) { > IDN::Stringprep.nodeprep('toto at a/a') > } >end > >The source seems to be the fact that the exception is catched. If we >don't catch it, no problem. Ah, I think I know what is wrong but I don't have enough time right now to look into it more deeply. ---------------------------------------------------------------------- >Comment By: Erik Abele (erikabele) Date: 2006-02-11 18:19 Message: This problem is now fixed with 0.0.2 - thanks for the report! ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=3633&aid=3088&group_id=924