Project

General

Profile

Actions

Bug #11109

closed

librtld_db: NULL pointer errors

Added by Toomas Soome over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

NULL pointer errors:

    ../common/rd_elf.c: In function '_rd_loadobj_iter32_native':
    ../common/rd_elf.c:707:27: error: comparison between pointer and integer [-Werror]
      if (db_priv.rtd_dynlmlst == NULL) {
                               ^~
    ../common/rd_elf.c: In function '_rd_loadobj_iter32_native':
    ../common/rd_elf.c:720:11: error: comparison between pointer and integer [-Werror]
      if (addr == NULL) {
               ^~
    cc1: all warnings being treated as errors


Related issues

Related to illumos gate - Bug #10266: NULL pointer constant issues in sgs/librtld_dbClosedGergő Mihály Doma2019-01-20

Actions
Actions #1

Updated by Electric Monk over 2 years ago

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

git commit 22ca2f96318fd461cfbcc23fd450623fe08610a3

commit  22ca2f96318fd461cfbcc23fd450623fe08610a3
Author: Toomas Soome <tsoome@me.com>
Date:   2019-06-24T18:19:46.000Z

    11109 librtld_db: NULL pointer errors
    Reviewed by: Jason Lippert <jason@glasspelican.ca>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions #2

Updated by Toomas Soome about 1 year ago

  • Related to Bug #10266: NULL pointer constant issues in sgs/librtld_db added
Actions

Also available in: Atom PDF