|
From: | Rafael Laboissiere |
Subject: | [Octave-bug-tracker] [bug #61484] [octave forge] (octclip) Use string literal in call to error() function |
Date: | Sun, 14 Nov 2021 11:56:44 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 |
URL: <https://savannah.gnu.org/bugs/?61484> Summary: [octave forge] (octclip) Use string literal in call to error() function Project: GNU Octave Submitted by: 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: Originator Email: Open/Closed: Open Release: other Discussion Lock: Any Operating System: GNU/Linux _______________________________________________________ Details: 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. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sun 14 Nov 2021 04:56:42 PM UTC Name: format-security-error.patch Size: 2KiB By: rlaboiss <http://savannah.gnu.org/bugs/download.php?file_id=52277> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?61484> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |