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_vasprintf #132

Closed
wants to merge 1 commit into from

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.

The function dce_vasprintf calls to the system vasprintf, using a ret variable to ask for memory and copy the string that is returned by vasprintf. ret is the amount of bytes in the string without considering the termination character \0. For that reason there is a bug here and ret should be ret+1.

The function dce_vasprintf calls to the system vasprintf, using a ret variable to ask for memory and copy the string that is returned by vasprintf. ret is the amount of bytes in the string without considering the termination character \0. For that reason there is a bug here and ret should be ret+1.
@tomhenderson
Copy link
Collaborator

Hello @fvel, is there a commit author string that we should use, rather than the below that is presently displayed?

fvel <58647413+fvel@users.noreply.github.com>

@fvel
Copy link
Author

fvel commented Jan 17, 2022

If you could use "Felipe Velazquez Serra fvelazquez@fing.edu.uy" it would be great.

@tomhenderson
Copy link
Collaborator

pushed in commit 2d7edf8

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