on empty input your code throws a segmentation fault, here is the patch to
fix it:
diff -Naur 01original/mime/mime/decode.h 03repaired/mime/mime/decode.h
--- 01original/mime/mime/decode.h 2007-07-11 01:50:11.000000000 +0200
+++ 03repaired/mime/mime/decode.h 2007-07-17 17:56:25.000000000 +0200
@@ -67,8 +67,11 @@
to the decoder to finalise processing and clean up all
resources.
*/
void close() {
- p->close();
- delete p;
+ if(p)
+ {
+ p->close();
+ delete p;
+ }
delete obj;
}
/**
Nobody/Anonymous
None
None
Public
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use