bugGNU Octave - Bugs: bug #61484, [octave forge] (octclip) Use...


bug #61484: [octave forge] (octclip) Use string literal in call to error() function

Submitted by:  Rafael Laboissière <rlaboiss>
Submitted on:  Sun 14 Nov 2021 04:56:42 PM UTC  
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  other Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 14 Nov 2021 04:56:42 PM UTC, original submission:  

Compilation of the octclip package with option -Werror=format-security (a requirement for building Debian packages) fails with error messages like this:

_oc_polybool.cc: In function ‘octave_value_list F_oc_polybool(const octave_value_list&, int)’:
_oc_polybool.cc:116:15: error: format not a string literal and no format arguments [-Werror=format-security]
  116 |         error(errorText);
      |               ^~~~~~~~~

The patch attached to this bug report fixes the issue.

Rafael Laboissière <rlaboiss>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rlaboiss (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-14 rlaboiss Attached File- => Added format-security-error.patch, #52277

    Back to the top

    Powered by Savane 3.7