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

Fix bug in dce_internalClosedir #133

Closed

Conversation

fvel
Copy link

@fvel fvel commented Sep 20, 2021

Hello, I'm woriking on porting FRRouting to dce. I've fixed a couple of bugs while working on it and I'd like to merge them.

In the function dce_internalClosedir, there is a memory assignament (ds->fd = saveFd) that have been already freed by a call to closedir some lines above (ret = closedir (dirp)). The directory stream descriptor dirp is not available after this call causing a SEGFAULT.

In the function dce_internalClosedir, there is a memory assignament (ds->fd = saveFd) that have been already freed by a call to closedir some lines above (ret = closedir (dirp)). The directory stream descriptor dirp is not available after this call causing a SEGFAULT.
@tomhenderson
Copy link
Collaborator

pushed in commit 042d38a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants