Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5499

Ruby/Perl bindings fail to compile with -Werror=format-security

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.24
    • 0.27
    • Perl Client, Ruby Client
    • None

    Description

      With Fedora 21 the option -Werror=format-security has been enabled. As a result, the code generated by Swig for the Ruby bindings fail to compile. The culprit code is in ruby.i:

      rb_raise(merror, mex.what());

      Which is using a method from the printf family but is not using a static format string.

      Attachments

        Issue Links

          Activity

            People

              mcpierce Darryl Pierce
              mcpierce Darryl Pierce
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: