Project

General

Profile

Bug #11103

link_audit: 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:
2019-05-31
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

NULL pointer errors:

    ../common/bindings.c: In function 'la_i86_pltenter':
    ../common/bindings.c:419:34: error: comparison between pointer and integer [-Werror]
      if (bhp->bh_bkts[bktno].bb_head == NULL) {
                                      ^~

    ../common/hash.c: In function 'hash_string':
    ../common/hash.c:255:12: error: comparison between pointer and integer [-Werror]
      while (*s != 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 e2294b844b9f4bfc375e88fd1260d9a39ffc82e1

commit  e2294b844b9f4bfc375e88fd1260d9a39ffc82e1
Author: Toomas Soome <tsoome@me.com>
Date:   2019-06-18T18:33:03.000Z

    11103 link_audit: NULL pointer errors
    Reviewed by: Norm Jacobs <naj@snapcon.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF