Bug#840771: segfaults on valid certificate

2016-10-19 Thread Dmitry Eremin-Solenikov
Package: dumpasn1 Followup-For: Bug #840771 I belive the patch you have provided is not full/correct. You pass a pointer to a wide character, when the code expects to have a valid wide string (ending with L'\0'). Please consider the attached patch instead. -- With best wishes Dmitry -- System

Bug#840771: segfaults on valid certificate

2016-10-14 Thread Dmitry Eremin-Solenikov
Package: dumpasn1 Version: 20150808-1 Severity: normal dumpasn1 segfaults on some certificates when printing Unicode strings. E.g. you can try it with the certificate downloaded from http://www.grfc.ru/upload/medialibrary/eec/016301.p7b Valgrind backtrace: 144 58: SET { 146