Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CID 113089: Possibly go over by one on the end of the file table. #64

Open
schwehr opened this issue Jul 16, 2015 · 0 comments
Open

CID 113089: Possibly go over by one on the end of the file table. #64

schwehr opened this issue Jul 16, 2015 · 0 comments

Comments

@schwehr
Copy link
Owner

schwehr commented Jul 16, 2015

CID 113089 (#1 of 1): Out-of-bounds write (OVERRUN)

gsf.c:660

 gsfFileTable[fileTableIndex].fp = fp;

I am pretty sure that the check against numOpenFiles makes sure this can't happen, but going to put in a check to make sure.

schwehr added a commit that referenced this issue Jul 16, 2015
…n files in gsfFileTable.

numOpenFiles should prevent this from happending, but double check

- Coverity CID 113089
- #64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant