Project

General

Profile

Bug #8458

auditd_plugins: temp_minfree may be used uninitialized

Added by Toomas Soome over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2017-07-04
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Build error from gcc 6:

../binfile.c:355:25: error: 'temp_minfree' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  if ((temp_minfree < 0) || (temp_minfree > 100))
      ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk over 2 years ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit 64ea2d201af526474ca5d8c66dc5e9aaab6d7ab4

commit  64ea2d201af526474ca5d8c66dc5e9aaab6d7ab4
Author: Toomas Soome <tsoome@me.com>
Date:   2017-07-11T16:58:35.000Z

    8458 auditd_plugins: temp_minfree may be used uninitialized
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF