Skip to content

Commit

Permalink
Correct a int/off_t buffer overflow in getSize() (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben RUBSON authored Feb 9, 2018
1 parent c9d6ec8 commit 14a66e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encfs/FileNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ int FileNode::getAttr(struct stat *stbuf) const {
off_t FileNode::getSize() const {
Lock _lock(mutex);

int res = io->getSize();
off_t res = io->getSize();
return res;
}

Expand Down

0 comments on commit 14a66e2

Please sign in to comment.