Skip to content
Snippets Groups Projects

VLCSharedLibraryParser: Fix potential crash on unknown selector

Merged Soomin Lee requested to merge bubu/vlc-ios:sharedlibrary/parser/string/01 into master
  1. Nov 22, 2019
    • Soomin Lee's avatar
      VLCSharedLibraryParser: Fix potential crash on unknown selector · dfb937cb
      Soomin Lee authored
      It was assumed that parsedContents was always an array of
      NSDictionnary.
      
      This makes sure that the object is a NSDictionnary in order to avoid a
      potential crash.
      
      Indeed in some rare cases, it seemed that the first object can be a
      NSString which leads to a crash with unknown selector.
      dfb937cb
Loading