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

tools: warning, ‘%.16x’ directive output truncated writing 16 bytes into a region of size 9. #14292

Merged
merged 1 commit into from Apr 10, 2017

Conversation

Projects
None yet
3 participants
@joscollin
Member

joscollin commented Apr 3, 2017

The following warning appears during make.

radosacl.cc:122:5: warning: ‘%.16x’ directive output truncated writing 16 bytes into a region of size 9 [-Wformat-truncation=]
 int main(int argc, const char **argv)
     ^~~~
                 from ./src/tools/radosacl.cc:19:
/usr/include/bits/stdio2.h:65:44: note: ‘__builtin___snprintf_chk’ output 17 bytes into a destination of size 9
        __bos (__s), __fmt, __va_arg_pack ());

Signed-off-by: Jos Collin jcollin@redhat.com

tools: warning, ‘%.16x’ directive output truncated writing 16 bytes i…
…nto a region of size 9.

The following warning appears during make.

    radosacl.cc:122:5: warning: ‘%.16x’ directive output truncated writing 16 bytes into a region of size 9 [-Wformat-truncation=]
     int main(int argc, const char **argv)
         ^~~~
                     from ./src/tools/radosacl.cc:19:
    /usr/include/bits/stdio2.h:65:44: note: ‘__builtin___snprintf_chk’ output 17 bytes into a destination of size 9
            __bos (__s), __fmt, __va_arg_pack ());

Signed-off-by: Jos Collin <jcollin@redhat.com>

@liewegas liewegas merged commit 5adc257 into ceph:master Apr 10, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details

@joscollin joscollin deleted the joscollin:wip-radosacl-warning branch Apr 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment