From: Jay Freeman (saurik) Date: Thu, 10 Mar 2011 07:19:28 +0000 (-0800) Subject: basic_string::_S_construct NULL not valid X-Git-Tag: v1.1.0%b4~10 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/c5f1a9375ccc353684f738e09c77dc9fde3d80e8?hp=9622e0e3da95d0a01f3c2ae3fe714a4a10a093e8 basic_string::_S_construct NULL not valid --- 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;