Actions
Bug #10433
closedbpf: NULL pointer errors
Start date:
2019-02-22
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
NULL pointer errors:
../../common/io/bpf/bpf.c: In function 'bpf_attachd': ../../common/io/bpf/bpf.c:297:10: error: comparison between pointer and integer [-Werror] if (mh != NULL) { ^~ ../../common/io/bpf/bpf.c: In function 'bpf_ifname': ../../common/io/bpf/bpf.c:1389:16: error: comparison between pointer and integer [-Werror] if (d->bd_bif == NULL) { ^~ cc1: all warnings being treated as errors
Updated by Electric Monk over 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit a3f59f6e87a609ee4950ebfcf34be0cca305e58b
commit a3f59f6e87a609ee4950ebfcf34be0cca305e58b Author: Toomas Soome <tsoome@me.com> Date: 2019-02-25T17:23:31.000Z 10433 bpf: NULL pointer errors Reviewed by: Aurélien Larcher <aurelien.larcher@gmail.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Actions