LG violates gpl? take 2

Luca Olivetti luca at ventoso.org
Wed Mar 24 19:36:58 CET 2010


En/na Ralph Corderoy ha escrit:
> Hi,
> 
>> No. This time the size matches, but the content doesn't.
>>
>> $ ls -l image_from_tv.vmlinuz vmlinuz.config-flash
>> -rw-r--r-- 1 luca luca 4394120 2010-03-21 17:32 image_from_tv.vmlinuz
>> -rwxr-xr-x 1 luca luca 4394120 2010-03-23 17:42 vmlinuz.config-flash*
>>
>> $ cmp -b -l image_from_tv.vmlinuz vmlinuz.config-flash | wc --lines
>> 2224535
> 
> If the two binaries are out of sync, then the number of lines from `cmp
> -l' can be misleading.  Have you tried
> 
>     hex() { hexdump -ve '/1 "%x\n"' "$@"; }
>     diff <(hex image_from_tv.vmlinuz) <(hex vmlinuz.config-flash) | less
> 
> and see on what scale those differences are?  Also, the location of a
> difference may mean you can investigate more and see it's due to object
> foo.o.

I piped that to a simple python script that counts the differences (how 
many times the difference has substituted "from" bytes with "to" bytes), 
and, while the result is not as dramatic, it still points to a 
significant difference:

from 1 to 1: 24924
from 2 to 2: 14199
from 1 to 0: 184
from 3 to 3: 171
from 0 to 1: 111
from 1 to 2: 42
from 1 to 6: 36
from 0 to 5: 35
from 5 to 2: 35
from 0 to 11: 33
from 3 to 6: 33
from 1 to 5: 19
from 5 to 1: 18
from 0 to 3: 14
from 0 to 2: 14
from 3 to 0: 12
from 0 to 4: 12
from 4 to 0: 11
from 2 to 0: 10
from 6 to 2: 8
from 2 to 6: 6
from 10 to 2: 6
from 9 to 1: 5
from 2 to 1: 5
from 8 to 0: 4
from 2 to 10: 3
from 1 to 9: 3
from 0 to 8: 3
from 0 to 16: 3
from 7 to 0: 3
from 1 to 3: 2
from 9 to 4: 2
from 14 to 2: 2
from 0 to 20: 2
from 3 to 2: 2
from 7 to 1: 2
from 0 to 12: 2
from 192 to 0: 1
from 2 to 18: 1
from 2 to 8: 1
from 206 to 39: 1
from 1 to 29: 1
from 0 to 28: 1
from 17 to 1: 1
from 0 to 56: 1
from 1 to 45: 1
from 4 to 46: 1
from 37 to 1: 1
from 0 to 99: 1
from 1 to 17: 1
from 1 to 85: 1
from 1 to 13: 1
from 4 to 14: 1
from 16 to 0: 1
from 4 to 2: 1
from 5 to 3: 1
from 13 to 1: 1
from 32 to 0: 1
from 0 to 52: 1
from 680 to 0: 1
from 28 to 0: 1
from 2 to 3: 1


Bye
-- 
Luca




More information about the legal mailing list