06.29.05

Google Video Viewer

Posted in Computer, Murmuring, Network, Programming, Software at 2:13 am by gslin

很多人都有提到 ,這是改自 的 plugin (所以有 source 公開在這裡 上),而 發現其中一段 code 限制只能看 video.google.com 上面的影片:

+ // Google mods
+ const char* allowed_host = “video.google.com”;
+ char * host_found = strstr(p_sys->url.psz_host, allowed_host);
+ if ((host_found == NULL) ||
+ ((host_found + strlen(allowed_host)) !=
+ (p_sys->url.psz_host + strlen(p_sys->url.psz_host)))) {
+ msg_Warn( p_access, “invalid host, only video.google.com is allowed” );
+ goto error;
+ }

於是他就寫了一個 patch 把這個 “bug” 修掉了:Google Video Viewer

1 Comment »

  1. hlb’s weblog » Google Pack? evil? Said:

    January 8, 2006 at 5:29 am

    [...] 首先看看所謂的「附加軟體(Additional Software Included)」,Firefox就算了,大家都知道Google跟Firefox有一腿。其他的呢?Ad-Aware SE Personal、Norton Antivirus 2005、Adobe Reader 7,還有沒有列在首頁上面的Real Player……這中間有什麼合作關係呢?我想一定不只是「Google收了其他公司多少廣告費」這麼單純的事情。而且為什麼是Real Player,不是之前被Google動過手腳的VLC,或是Media Player Classic?搞不好跟Goole Video Store有關? [...]

Leave a Comment