mirror of
https://github.com/vgough/encfs.git
synced 2024-11-24 17:03:13 +01:00
Correct a int/off_t buffer overflow in getSize() (#468)
This commit is contained in:
parent
c9d6ec8cff
commit
14a66e248b
@ -228,7 +228,7 @@ int FileNode::getAttr(struct stat *stbuf) const {
|
|||||||
off_t FileNode::getSize() const {
|
off_t FileNode::getSize() const {
|
||||||
Lock _lock(mutex);
|
Lock _lock(mutex);
|
||||||
|
|
||||||
int res = io->getSize();
|
off_t res = io->getSize();
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user