Project

General

Profile

Bug #11124

libkvm: 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/kvm_getcmd.c: In function 'kvm_getcmd':
    ../common/kvm_getcmd.c:284:16: error: comparison between pointer and integer [-Werror]
      if (u->u_argv == NULL || u->u_envp == NULL)
                    ^~
    ../common/kvm_getcmd.c:284:37: error: comparison between pointer and integer [-Werror]
      if (u->u_argv == NULL || u->u_envp == 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 d2807fdd28344fd2f4dcdc487f7d56c8d00b6075

commit  d2807fdd28344fd2f4dcdc487f7d56c8d00b6075
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-03T05:56:04.000Z

    11124 libkvm: NULL pointer errors
    Reviewed by: John Levon <john.levon@joyent.com>
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF