On 2010-10-26 05:07 PDT, Jean-Marc Desperrier wrote: > Matej Kurpel wrote: >> However, how does a printable string differ from utf8string (and other >> strings, particularly ia5string) when there are no non-ascii characters? >> Do you think it's a bug in NSS...? > > printable string basically allows only the alphabet and numeric > characters. ia5string allows all of 7-bit ASCII. > For both, any character with the eighth bit set will be invalid. > > A crash when meeting invalid data is always a bug, especially for a > security tool. Even if here it seem to only be a bug inside the certutil > tool, not inside the NSS library component themselves.
Please don't file a bug without a stack trace showing the crash is in NSS. When your program crashes, it should create a file named "core" or "coreXXXX" (where XXXXX is a number that varies). You run the gdb debugger pointing it to the executable and the core file, and give it the command "bt" (Back Trace), and it does the rest. If the back trace shows the crash is not in NSS, but in some other library, please direct the bug report accordingly. -- /Nelson Bolyard -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto