Please report new issues athttps://github.com/DOCGroup
The to_name() operation crashes with some (admitedly illegal) strings, for example : "foo.bar.baz.quz/xxx" The parsing code correctly counts the number of components based on '/' characters, but then creates a component after each '.' character. It should verify that each component has only one '.' character and raise a BAD_PARAM exception (or something more descriptive) if an invalid string is passed. I will attach a patch that supposedly solves the problem.
Created attachment 122 [details] Patches to solve the problem
Accepting.
I am adding this as a blocker for the 1.3 release. Crashes in the Naming Service are pretty bad, and fixing this one should take no effort (since tested patches are readily available!)
Fixed. Sat Sep 21 12:42:25 2002 Ossama Othman <ossama@uci.edu> * orbsvcs/orbsvcs/Naming/Naming_Context_Interface.h: * orbsvcs/orbsvcs/Naming/Naming_Context_Interface.cpp (to_name): (to_name_helper): Applied Carlos' patch that fixes to_name() operation crashes with some strings (a blocker bug). [Bug 1224]