Project

General

Profile

Bug #11428

sendmail: NULL pointer errors

Added by Toomas Soome about 1 month ago. Updated 25 days ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Build errors with NULL pointer:

    mailcompat.c: In function 'getfrom':
    mailcompat.c:159:32: error: comparison between pointer and integer [-Werror]
          strncmp(line, "From ", 5) != NULL)
                                    ^~

    vacation.c: In function 'getfrom':
    vacation.c:385:32: error: comparison between pointer and integer [-Werror]
          strncmp(line, "From ", 5) != NULL)
                                    ^~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 25 days ago

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

git commit fad16a7e4518fa4e5453c3808b1145177946e030

commit  fad16a7e4518fa4e5453c3808b1145177946e030
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-30T18:43:18.000Z

    11428 sendmail: NULL pointer errors
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF