]> git.sesse.net Git - vlc/commit
Do not insert a module in the list twice
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 27 Jan 2010 17:22:46 +0000 (19:22 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 27 Jan 2010 17:25:14 +0000 (19:25 +0200)
commite9d39acf422ca83a6d9c10654ce841ab0a8c9e7e
tree1d467bc389df607ce2fd144da57706dbbcea5f15
parent98ab5ed7561c63bdafe3f898a1a87268ba765d91
Do not insert a module in the list twice

If the same module (i.e. currently same file path) is scanned more than
once, the linked list would get corrupted, and VLC crash while loading.

This could happen, e.g. if you put $(vlclibdir) into --plugin-path.
src/modules/modules.c