Project

General

Profile

Bug #11131

libtsol: NULL pointer errors

Added by Toomas Soome 5 months ago. Updated 4 months ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

NULL pointer errors:

    ../common/setflabel.c: In function 'zonecopy':
    ../common/setflabel.c:207:11: error: return makes integer from pointer without a cast [-Werror=int-conversion]
        return (NULL);
               ^

    ../common/getpathbylabel.c: In function 'tsol_mkmntlist':
    ../common/getpathbylabel.c:185:34: error: comparison between pointer and integer [-Werror]
      while (getmntent(mounted, &mnt) == NULL) {
                                      ^~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 4 months ago

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

git commit ce67cb245e522293fca567799070a5cdd4267929

commit  ce67cb245e522293fca567799070a5cdd4267929
Author: Toomas Soome <tsoome@me.com>
Date:   2019-06-24T19:14:24.000Z

    11131 libtsol: NULL pointer errors
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF