Validate fat_head; CERT-FI id:000000,sig:06,src:000000,op:flip1,pos:7

This commit is contained in:
John Reiser
2015-05-08 18:32:42 -07:00
parent f0aef9b28b
commit 35944cbfc1
4 changed files with 44 additions and 9 deletions
+5
View File
@@ -243,6 +243,7 @@ void InputFile::sopen(const char *name, int flags, int shflags)
else
throwIOException(_name, errno);
}
_length_orig = _length;
}
@@ -294,6 +295,10 @@ off_t InputFile::tell() const
return super::tell();
}
off_t InputFile::st_size_orig() const
{
return _length_orig;
}
/*************************************************************************
//