OSDN Git Service

Avoided information leak when processing garbled compressed data
authorJean-Pierre André <jean-pierre.andre@wanadoo.fr>
Fri, 14 Aug 2020 09:36:57 +0000 (11:36 +0200)
committerJean-Pierre André <jean-pierre.andre@wanadoo.fr>
Fri, 14 Aug 2020 09:36:57 +0000 (11:36 +0200)
commit1bc996f52f1291896177daee15ca9ee5fa2c928d
treed275df50c57f24e6c0709f583d68ef0370924eba
parent6bdd1e85ac15f287f13305204c7f5b7af032a497
Avoided information leak when processing garbled compressed data

When a compressed file has been deteriorated through hardware error
or accidental overwriting, some unrelated data could be leaked.
Make sure to zero fill the buffer when this happens.
libntfs-3g/compress.c