Skip to content

credman: change credman_buffer_t::s type to 'const void *'#12299

Merged
miri64 merged 1 commit intoRIOT-OS:masterfrom
pokgak:pr/credman_change_to_const_void
Sep 24, 2019
Merged

credman: change credman_buffer_t::s type to 'const void *'#12299
miri64 merged 1 commit intoRIOT-OS:masterfrom
pokgak:pr/credman_change_to_const_void

Conversation

@pokgak
Copy link
Copy Markdown
Contributor

@pokgak pokgak commented Sep 24, 2019

Contribution description

This is a fix to the problem described in comment.

Testing procedure

Building #11943 without this change will produce error:

error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]

With this change, the error is gone.

pokgak pushed a commit to pokgak/RIOT that referenced this pull request Sep 24, 2019
@miri64 miri64 self-requested a review September 24, 2019 18:00
@miri64 miri64 added Area: security Area: Security-related libraries and subsystems CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Process: API change Integration Process: PR contains or issue proposes an API change. Should be handled with care. Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) labels Sep 24, 2019
Copy link
Copy Markdown
Member

@miri64 miri64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The pointer is not supposed to have the value changed and everything should still compile. Let's wait and see Murdock's verdict.

@miri64
Copy link
Copy Markdown
Member

miri64 commented Sep 24, 2019

and go

@miri64 miri64 merged commit cecdd57 into RIOT-OS:master Sep 24, 2019
pokgak pushed a commit to pokgak/RIOT that referenced this pull request Sep 24, 2019
@kb2ma kb2ma added this to the Release 2019.10 milestone Sep 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: security Area: Security-related libraries and subsystems CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Process: API change Integration Process: PR contains or issue proposes an API change. Should be handled with care. Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants