Project

General

Profile

Actions

Bug #12221

closed

arp: smatch errors

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
Due date:
% Done:

100%

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

Description

smatch errors:

    /code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch: ../../common/inet/arp/../inetddi.c:145 inet_attach() error: buffer overflow 'netdev_privs' 9 <= 9 (assuming for loop doesn't break)
    /code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch: ../../common/inet/arp/../inetddi.c:146 inet_attach() error: buffer overflow 'netdev_privs' 9 <= 9 (assuming for loop doesn't break)
    /code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch: ../../common/inet/arp/../inetddi.c:146 inet_attach() error: buffer overflow 'netdev_privs' 9 <= 9 (assuming for loop doesn't break)

Technically it is not about arp, but it is first one reporting:)

Testing done: build/install/boot - apparently the network is still working.

Actions

Also available in: Atom PDF