Project

General

Profile

Actions

Bug #11339

closed

getent: NULL pointer errors

Added by Toomas Soome over 3 years ago. Updated over 3 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:

    dogetserv.c: In function 'dogetserv':
    dogetserv.c:86:26: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
        key[sizeof (key) - 1] = NULL;
                              ^
    dogetserv.c:89:9: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
         *cp = NULL;
             ^
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF