Project

General

Profile

Bug #11384

login: NULL pointer errors

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

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build errors with NULL pointer:

    login.c: In function 'login_conv':
    login.c:889:34: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
         r->resp[PAM_MAX_RESP_SIZE-1] = NULL;
                                      ^
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 12 months ago

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

git commit 723f377c3492a26888b7d19197a1ec00eebebafe

commit  723f377c3492a26888b7d19197a1ec00eebebafe
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-19T18:50:13.000Z

    11384 login: NULL pointer errors
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF