mozilla tries to read a malformed ICC profile on random image content found on the web. backport of http://hg.mozilla.org/mozilla-central/rev/e8207773d54d ref: https://bugzilla.mozilla.org/show_bug.cgi?id=629057 issue reported and fix found by naddy@ ok naddy@ ajacoutot@