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

common: Redo address string conversions #3032

Merged
merged 1 commit into from
Jun 6, 2017
Merged

Conversation

shefty
Copy link
Member

@shefty shefty commented Jun 5, 2017

The code relies on a gcc extension to sscanf (%m) that isn't
available on other compilers (i.e. icc, even when gcc compliance
is enabled). Replace %m will fixed sized buffers and check for
overrun.

Fixes #3026

Signed-off-by: Sean Hefty [email protected]

The code relies on a gcc extension to sscanf (%m) that isn't
available on other compilers (i.e. icc, even when gcc compliance
is enabled).  Replace %m will fixed sized buffers and check for
overrun.

Fixes ofiwg#3026

Signed-off-by: Sean Hefty <[email protected]>
@shefty
Copy link
Member Author

shefty commented Jun 5, 2017

@jeffhammond - This should fix your build issues with icc.

@jeffhammond
Copy link
Member

Indeed, I verified that this fixes issue #3026.

@shefty shefty merged commit 2eb68de into ofiwg:master Jun 6, 2017
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.

invalid format string conversion in src/common.c
2 participants