Project

General

Profile

Bug #10730

dprov: NULL pointer errors

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2019-04-11
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

NULL pointer errors:

    ../../common/crypto/io/dprov.c: In function 'dprov_attach':
    ../../common/crypto/io/dprov.c:1782:24: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
      softc->ds_prov_handle = NULL;
                            ^
    ../../common/crypto/io/dprov.c: In function 'dprov_detach':
    ../../common/crypto/io/dprov.c:1879:28: error: comparison between pointer and integer [-Werror]
      if (softc->ds_prov_handle != NULL)
                                ^~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 7 months ago

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

git commit 66feb664522a4aab90b9adec2e8c408b6da7ee17

commit  66feb664522a4aab90b9adec2e8c408b6da7ee17
Author: Toomas Soome <tsoome@me.com>
Date:   2019-04-19T21:06:31.000Z

    10730 dprov: NULL pointer errors
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF