ntfs_attr_pclose: fix uninitialized variable which may lead to an infinite
loop on a read-only file system (Erik Larsson, Jean-Pierre Andre)N2009_11_14_FIXES
parent
670d72620d
commit
c32f2a4f59
|
@ -1883,6 +1883,7 @@ int ntfs_attr_pclose(ntfs_attr *na)
|
|||
}
|
||||
|
||||
retry:
|
||||
written = 0;
|
||||
if (!NVolReadOnly(vol)) {
|
||||
|
||||
written = ntfs_compressed_close(na, rl, ofs);
|
||||
|
|
Loading…
Reference in New Issue