Actions
Bug #10266
closedStart date:
2019-01-20
Due date:
% Done:
50%
Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:
Description
Code cleanup.
Affected files:
Affected files:
- /usr/src/cmd/sgs/librtld_db/common/rtld_db.c
- use return (NULL); in function rd_new()
- third param. of mutex_init() is a pointer, use NULL
- /usr/src/cmd/sgs/librtld_db/demo/common/maps.c
- third param. of elf_begin() is a pointer, use NULL
- second param. of elf_getdata() is a pointer, use NULL
- /usr/src/cmd/sgs/librtld_db/demo/common/help.c
- use NULL instead of 0 in htops[]
- use C99 designated initializers in htops[]
- /usr/src/cmd/sgs/librtld_db/demo/common/dis.c
- compare mip with NULL instead of 0
- /usr/src/cmd/sgs/librtld_db/demo/common/bpt.c
- compare mip with NULL instead of (map_info_t *)0
Related issues
Updated by Toomas Soome about 3 years ago
- Related to Bug #11109: librtld_db: NULL pointer errors added
Updated by Toomas Soome about 3 years ago
- Related to Bug #12541: sgs: smatch and NULL pointer errors added
Updated by Toomas Soome about 3 years ago
- Related to Feature #12661: null.h: enable NULL pointer for SPARC added
Actions