From c5f1a9375ccc353684f738e09c77dc9fde3d80e8 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 9 Mar 2011 23:19:28 -0800 Subject: [PATCH] basic_string::_S_construct NULL not valid --- MobileCydia.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MobileCydia.mm b/MobileCydia.mm index 25b55d7c..324da6e9 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -3294,6 +3294,8 @@ class CydiaLogCleaner : } - (Package *) packageWithName:(NSString *)name { + if (name == nil) + return nil; @synchronized (self) { if (static_cast(cache_) == NULL) return nil; -- 2.45.2