Project

General

Profile

Actions

Bug #11384

closed

login: NULL pointer errors

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

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

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

Actions #1

Updated by Electric Monk over 4 years ago

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

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>

Actions

Also available in: Atom PDF