Skip to content

Fix error flagged by -fsanitize=nonnull-attribute#11

Open
davido wants to merge 1 commit intoboostorg:developfrom
davido:patch-1
Open

Fix error flagged by -fsanitize=nonnull-attribute#11
davido wants to merge 1 commit intoboostorg:developfrom
davido:patch-1

Conversation

@davido
Copy link

@davido davido commented Jan 9, 2017

Summary:

this fixes the error reported by -fsanitize=nonnull-attribute analyzer:

/workdir/UnpackedTarball/boost/boost/circular_buffer/debug.hpp:37:17:
runtime error: null pointer passed as argument 1, which is declared to never be null

/usr/include/string.h:62:62: note: nonnull attribute specified here

Summary:

this fixes the error reported by -fsanitize=nonnull-attribute analyzer:

/workdir/UnpackedTarball/boost/boost/circular_buffer/debug.hpp:37:17:
runtime error: null pointer passed as argument 1, which is declared to never be null
> /usr/include/string.h:62:62: note: nonnull attribute specified here
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.

1 participant