Actions
Bug #10733
closedspecfs: NULL pointer errors
Start date:
2019-04-11
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
NULL pointer errors:
../../common/fs/specfs/specsubr.c: In function 'specvp': ../../common/fs/specfs/specsubr.c:161:15: error: assignment makes integer from pointer without a cast [-Werror=int-conversion] sp->s_nextr = NULL; ^ ../../common/fs/specfs/specsubr.c: In function 'makespecvp': ../../common/fs/specfs/specsubr.c:239:14: error: assignment makes integer from pointer without a cast [-Werror=int-conversion] sp->s_nextr = NULL; ^ ../../common/fs/specfs/specsubr.c: In function 'get_cvp': ../../common/fs/specfs/specsubr.c:556:15: error: assignment makes integer from pointer without a cast [-Werror=int-conversion] sp->s_nextr = NULL; ^ ../../common/fs/specfs/specsubr.c: In function 'commonvp': ../../common/fs/specfs/specsubr.c:602:15: error: assignment makes integer from pointer without a cast [-Werror=int-conversion] sp->s_nextr = NULL; ^ cc1: all warnings being treated as errors
Updated by Electric Monk about 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 85153f071b002af39c1b24dc34a82eed0acc3fec
commit 85153f071b002af39c1b24dc34a82eed0acc3fec Author: Toomas Soome <tsoome@me.com> Date: 2019-04-18T05:34:43.000Z 10733 specfs: NULL pointer errors Reviewed by: Rob Johnston <rob.johnston@joyent.com> Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net> Approved by: Dan McDonald <danmcd@joyent.com>
Actions