Project

General

Profile

Bug #11117

libzfs_core: NULL pointer errors

Added by Toomas Soome 4 months ago. Updated 3 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/libzfs_core.c: In function 'lzc_ioctl':
    ../common/libzfs_core.c:153:24: error: comparison between pointer and integer [-Werror]
       if (zc.zc_nvlist_dst == NULL) {
                            ^~
    ../common/libzfs_core.c:173:25: error: comparison between pointer and integer [-Werror]
        if (zc.zc_nvlist_dst == NULL) {
                             ^~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 3 months ago

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

git commit dd6458550ab2996163712b25c080615392bf94d2

commit  dd6458550ab2996163712b25c080615392bf94d2
Author: Toomas Soome <tsoome@me.com>
Date:   2019-06-18T18:46:21.000Z

    11117 libzfs_core: NULL pointer errors
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF