Actions
Bug #10767
closedipc: NULL pointer errors
Start date:
2019-04-13
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:
Description
NULL pointer errors:
In file included from ../../common/sys/param.h:48:0, from ../../common/os/ipc.c:407: ../../common/os/ipc.c: In function 'ipc_keylookup': ../../common/sys/null.h:32:14: error: passing argument 1 of 'audit_ipcget' makes integer from pointer without a cast [-Werror=int-conversion] #define NULL ((void *)0) ^ ../../common/os/ipc.c:929:18: note: in expansion of macro 'NULL' audit_ipcget(NULL, (void *)perm); ^~~~ In file included from ../../common/os/ipc.c:422:0: ../../common/c2/audit.h:589:6: note: expected 'int' but argument is of type 'void *' void audit_ipcget(int, void *); ^~~~~~~~~~~~ cc1: all warnings being treated as errors
Updated by Electric Monk over 4 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit f44210608f03909f70d6783d19f164519baf1085
commit f44210608f03909f70d6783d19f164519baf1085 Author: Toomas Soome <tsoome@me.com> Date: 2019-04-19T19:24:05.000Z 10767 ipc: NULL pointer errors Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net> Approved by: Dan McDonald <danmcd@joyent.com>
Actions