Fix APK comparison script.

Fixes #5404

// FREEBIE
This commit is contained in:
Moxie Marlinspike 2016-04-01 09:50:51 -07:00
parent a307ff350c
commit b94c72ea7f
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class ApkDiff:
sourceChunk = sourceFile.read(1024)
destinationChunk = destinationFile.read(1024)
while sourceChunk != "" and destinationChunk != "":
while sourceChunk != "" or destinationChunk != "":
if sourceChunk != destinationChunk:
return False