Project

General

Profile

Bug #11104

ldd: NULL pointer errors

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2019-05-31
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

NULL pointer errors:

    ../common/ldd.c: In function 'main':
    ../common/ldd.c:375:51: error: comparison between pointer and integer [-Werror]
        if (elf_check(nfile, fname, cname, elf, fflag) != NULL)
                                                       ^~
    ../common/ldd.c:382:52: error: comparison between pointer and integer [-Werror]
        if (aout_check(nfile, fname, cname, var, fflag) != NULL)
                                                        ^~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 5 months ago

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

git commit 1304f648fa20f6bea9d7aa8c2d089ade63ce703c

commit  1304f648fa20f6bea9d7aa8c2d089ade63ce703c
Author: Toomas Soome <tsoome@me.com>
Date:   2019-06-04T13:00:04.000Z

    11104 ldd: NULL pointer errors
    Reviewed by: Norm Jacobs <naj@snapcon.com>
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF