GNOME Bugzilla – Bug 643667
totem_pl_parser_line_is_empty checks for empty lines but lets NULL through
Last modified: 2011-03-02 15:00:23 UTC
Created attachment 182249 [details] Playlist that crashes the library This causes a bug in totem_pl_parser_add_pls_with_contents I will attach a test file that fails (segfault), a mini-example to illustrate and a patch that fixes this
Created attachment 182250 [details] Mini program that illustrates the problem
Created attachment 182251 [details] [review] Patch that fixes it
Please attach patches in git format in the future, so I don't have to commit it by hand. There's also no need to create yet another test program we already have a test suite, I just added the couple of lines of code to plparse/tests/parser.c to try and parse the empty playlist instead.