[PORT FROM MAIN]framwork: MediaScan can't work again after adb push some speical file to phone
from my test it happens in the AsfExtractor.cpp.
It will in initialize() => for() forever.
Because the objectSize =0
then offset will be == fix value,
then readAt() == 24,
In common, offset + objectSize will reach another header.
But this bad file(may be made by somebody) is different, it reachs a bad another header.
So it can happen this issue.
If you want to know the bad file name,you can refer patch:(80715) and (79686 Patch Set 9).
Signed-off-by: Kun Jiang <email@example.com>
Reviewed-by: Ding, Haitao <firstname.lastname@example.org>
Tested-by: Ding, Haitao <email@example.com>
Reviewed-by: cactus <firstname.lastname@example.org>
Tested-by: cactus <email@example.com>
1 file changed