Skip to content

VLCSharedLibraryParser: Fix potential crash on unknown selector

Soomin Lee requested to merge bubu/vlc-ios:sharedlibrary/parser/string/01 into master

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.

Merge request reports

Loading