Project

General

Profile

Bug #5590

improper use of NULL in tools/protocmp

Added by Richard PALO over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2015-02-04
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

protocmp improperly uses NULL for 0 when an 'int' is expected.

The attached patch fixes protocmp's use of NULL to assign or to compare
to an integer zero (0).


Files

History

#2

Updated by Electric Monk over 5 years ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

git commit ed1591688000a5d179c4ba27793cae55590c55d2

commit  ed1591688000a5d179c4ba27793cae55590c55d2
Author: Richard PALO <richard@NetBSD.org>
Date:   2015-02-08T21:23:28.000Z

    5590 improper use of NULL in tools/protocmp
    Reviewed by: David Höppner <0xffea@gmail.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF