Project

General

Profile

Actions

Bug #12295

closed

librsc: wrong argument for sizeof

Added by Toomas Soome over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
Due date:
% Done:

100%

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

Description

/code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: common/librsc.c:154 rscp_init() warn: sizeof(NUMBER)?

It would be better to zero entire buffer.

Testing done: build only.

Actions #1

Updated by Toomas Soome about 1 year ago

  • Description updated (diff)
Actions #2

Updated by Electric Monk about 1 year ago

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

git commit 13b136d3061155363c62c9f6568d25b8b27da8f6

commit  13b136d3061155363c62c9f6568d25b8b27da8f6
Author: Toomas Soome <tsoome@me.com>
Date:   2020-02-25T18:02:07.000Z

    12295 librsc: wrong argument for sizeof
    Reviewed by: Matthias Scheler <mscheler@tintri.com>
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Approved by: Robert Mustacchi <rm@fingolfin.org>

Actions

Also available in: Atom PDF