From c5f1a9375ccc353684f738e09c77dc9fde3d80e8 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 9 Mar 2011 23:19:28 -0800 Subject: basic_string::_S_construct NULL not valid --- MobileCydia.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MobileCydia.mm b/MobileCydia.mm index 25b55d7..324da6e 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; -- cgit v1.2.3