Project

General

Profile

Actions

Bug #11451

closed

zonecfg: NULL pointer errors

Added by Toomas Soome about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

Build errors with NULL pointer:

    zonecfg.c: In function 'brand_verify':
    zonecfg.c:5936:24: error: comparison between pointer and integer [-Werror]
      if (mkstemp(xml_file) == NULL)
                            ^~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk about 3 years ago

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

git commit eaf5a31c5f4fa067aaddcf5b08a0cd96c60bb9a4

commit  eaf5a31c5f4fa067aaddcf5b08a0cd96c60bb9a4
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-31T06:42:53.000Z

    11451 zonecfg: NULL pointer errors
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF