xbmc/xbmc — pull request #5517 by tamland (2014-10-16 11:14:12+00:00)
Title: fix: missing bound check on populating context menu

How to reproduce: go to addon browser. Try to open the context menu on something you shouldn't (like on the side bar). It will segfault.

I checked all the other `GetContextButtons` implementations, I think they are fine.