Disney, Microsoft, Nintendo and 50 other companies had a massive source code leak online. This makes their internal source codes available for anyone online.
It seems that no software update is complete without a leak before its release date. Androids are no exception. Yesterday, the Android 4.3 (Jelly Bean) software update for the Galaxy S4 was leaked.