Project

General

Profile

Actions

Bug #11352

closed

idmap: 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:

    namemaps.c: In function 'idmap_get_namemap':
    namemaps.c:1016:16: error: comparison between pointer and integer [-Werror]
       if (p->is_ad == NULL) {
                    ^~
    namemaps.c:1037:19: error: comparison between pointer and integer [-Werror]
       if (p->is_nldap == 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 ef826847d2347ce01d945c4301ece23ced413215

commit  ef826847d2347ce01d945c4301ece23ced413215
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-12T06:21:55.000Z

    11352 idmap: NULL pointer errors
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF