Bugzilla – Attachment 74920 Details for
Bug 155003
AUDIT-0: novell-lum: eDirectory client support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
0_SCAN_2.splint
0_SCAN_2.splint (text/plain), 77.89 KB, created by
Thomas Biege
on 2006-03-24 14:26:23 UTC
(
hide
)
Description:
0_SCAN_2.splint
Filename:
MIME Type:
Creator:
Thomas Biege
Created:
2006-03-24 14:26:23 UTC
Size:
77.89 KB
patch
obsolete
>[ FILE: novell-lum-2.2.0/config/confparam.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/config/namparams.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/config/namcm.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/config/i18n.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/config/error.c ] >novell-lum-2.2.0/config/error.c: (in function err_warn) >novell-lum-2.2.0/config/error.c:64:2: Return value (type int) ignored: > vfprintf(stderr,... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalint to inhibit warning) >novell-lum-2.2.0/config/error.c:68:3: Return value (type int) ignored: > fputc('\n', stderr) > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalint to inhibit warning) >novell-lum-2.2.0/config/error.c:70:2: Return value (type int) ignored: > fflush(stdout) > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalint to inhibit warning) >novell-lum-2.2.0/config/error.c:71:2: Return value (type int) ignored: > fflush(stderr) > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalint to inhibit warning) >novell-lum-2.2.0/config/error.c: (in function err_warnsys) >novell-lum-2.2.0/config/error.c:95:2: Return value (type int) ignored: > vfprintf(stderr,... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalint to inhibit warning) >novell-lum-2.2.0/config/error.c:101:2: Return value (type int) ignored: > fflush(stdout) > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalint to inhibit warning) >novell-lum-2.2.0/config/error.c:102:2: Return value (type int) ignored: > fflush(stderr) > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalint to inhibit warning) > >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/config/namconfig.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/config/confuncs.c ] >novell-lum-2.2.0/config/confuncs.c:2591:17: Comment starts inside comment > A comment open sequence (/*) appears within a comment. This usually means an > earlier comment was not closed. (Use -nestcomment to inhibit warning) >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/config/ldapmodify.c ] >novell-lum-2.2.0/config/ldapmodify.c:38:25: > Static ldaphost initialized to null value: ldaphost = NULL > A reference with no null annotation is assigned or initialized to NULL. Use > /*@null@*/ to declare the reference as a possibly null pointer. (Use > -nullassign to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:38:25: > Static ldaphost initialized to null value: char * ldaphost = NULL = NULL > A reference with no null annotation is assigned or initialized to NULL. Use > /*@null@*/ to declare the reference as a possibly null pointer. (Use > -nullassign to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:40:23: > Static infile initialized to null value: infile = NULL > A reference with no null annotation is assigned or initialized to NULL. Use > /*@null@*/ to declare the reference as a possibly null pointer. (Use > -nullassign to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:40:23: > Static infile initialized to null value: char * infile = NULL = NULL > A reference with no null annotation is assigned or initialized to NULL. Use > /*@null@*/ to declare the reference as a possibly null pointer. (Use > -nullassign to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:87:15: > Function ber_strdup shadows outer declaration > An outer declaration is shadowed by the local declaration. (Use -shadow to > inhibit warning) > /usr/include/lber.h:597:1: Previous declaration of ber_strdup: > [function () returns char *] >novell-lum-2.2.0/config/ldapmodify.c:89:15: > Function ber_memalloc shadows outer declaration > An outer declaration is shadowed by the local declaration. (Use -shadow to > inhibit warning) > /usr/include/lber.h:543:1: Previous declaration of ber_memalloc: > [function () returns void *] >novell-lum-2.2.0/config/ldapmodify.c: (in function ldif_getline) >novell-lum-2.2.0/config/ldapmodify.c:133:10: Null storage returned as non-null: > (NULL) > Function returns a possibly null pointer, but is not declared using > /*@null@*/ annotation of result. If function may return NULL, add /*@null@*/ > annotation to the return value declaration. (Use -nullret to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:140:22: > Variable c initialized to type char, expects unsigned char: *(*next + 1) > To ignore signs in type comparisons use +ignoresigns >novell-lum-2.2.0/config/ldapmodify.c:142:26: > Incompatible types for == (unsigned char, char): c == '\n' > To ignore signs in type comparisons use +ignoresigns >novell-lum-2.2.0/config/ldapmodify.c:168:2: > Initial value of b642nib[0] is type int, expects unsigned char: 0xff > To make char and int types equivalent, use +charint. >novell-lum-2.2.0/config/ldapmodify.c:168:8: > Initial value of b642nib[1] is type int, expects unsigned char: 0xff > To make char and int types equivalent, use +charint. >novell-lum-2.2.0/config/ldapmodify.c:168:14: > Initial value of b642nib[2] is type int, expects unsigned char: 0xff > To make char and int types equivalent, use +charint. >novell-lum-2.2.0/config/ldapmodify.c:168:20: > Initial value of b642nib[3] is type int, expects unsigned char: 0xff > To make char and int types equivalent, use +charint. >novell-lum-2.2.0/config/ldapmodify.c:184:3: > Additional initialization errors for b642nib not reported >novell-lum-2.2.0/config/ldapmodify.c: (in function ldif_parse_line) >novell-lum-2.2.0/config/ldapmodify.c:219:16: > Function returns with null storage derivable from parameter *typep > A possibly null pointer is reachable from a parameter or global variable that > is not declared using a /*@null@*/ annotation. (Use -nullstate to inhibit > warning) > novell-lum-2.2.0/config/ldapmodify.c:201:11: Storage *typep becomes null >novell-lum-2.2.0/config/ldapmodify.c:219:16: > Function returns with null storage derivable from parameter *valuep > A possibly null pointer is reachable from a parameter or global variable that > is not declared using a /*@null@*/ annotation. (Use -nullstate to inhibit > warning) > novell-lum-2.2.0/config/ldapmodify.c:202:12: Storage *valuep becomes null >novell-lum-2.2.0/config/ldapmodify.c:274:22: > Test expression for for not boolean, type char: *p > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:294:7: > Test expression for if not boolean, type int: b64 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:306:16: > Array fetch using non-integer, char: b642nib[p[i] & 0x7f] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:306:16: > Operands of > have incompatible types (unsigned char, int): > b642nib[p[i] & 0x7f] > 0x3f > To make char and int types equivalent, use +charint. >novell-lum-2.2.0/config/ldapmodify.c:305:26: > Left operand of || is non-boolean (char): > p[i] & 0x80 || b642nib[p[i] & 0x7f] > 0x3f > The operand of a boolean operator is not a boolean. Use +ptrnegate to allow ! > to be used on pointers. (Use -boolops to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:315:19: > Owned storage type not released before return > A memory leak has been detected. Only-qualified storage is not released > before the last reference to it is lost. (Use -mustfreeonly to inhibit > warning) > novell-lum-2.2.0/config/ldapmodify.c:222:2: Storage type becomes owned >novell-lum-2.2.0/config/ldapmodify.c:320:10: > Array fetch using non-integer, char: b642nib[p[0] & 0x7f] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:320:4: > Assignment of unsigned char to char: nib = b642nib[p[0] & 0x7f] > To ignore signs in type comparisons use +ignoresigns >novell-lum-2.2.0/config/ldapmodify.c:321:14: > Left operand of << may be negative (char): nib << 2 > The left operand to a shift operator may be negative (behavior is > implementation-defined). (Use -shiftimplementation to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:323:10: > Array fetch using non-integer, char: b642nib[p[1] & 0x7f] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:323:4: > Assignment of unsigned char to char: nib = b642nib[p[1] & 0x7f] > To ignore signs in type comparisons use +ignoresigns >novell-lum-2.2.0/config/ldapmodify.c:324:15: > Left operand of >> may be negative (char): nib >> 4 > The left operand to a shift operator may be negative (behavior is > implementation-defined). (Use -shiftimplementation to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:325:14: > Left operand of << may be negative (char): (nib & 0x0f) << 4 > The left operand to a shift operator may be negative (behavior is > implementation-defined). (Use -shiftimplementation to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:332:10: > Array fetch using non-integer, char: b642nib[p[2] & 0x7f] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:332:4: > Assignment of unsigned char to char: nib = b642nib[p[2] & 0x7f] > To ignore signs in type comparisons use +ignoresigns >novell-lum-2.2.0/config/ldapmodify.c:333:15: > Left operand of >> may be negative (char): nib >> 2 > The left operand to a shift operator may be negative (behavior is > implementation-defined). (Use -shiftimplementation to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:334:14: > Left operand of << may be negative (char): (nib & 0x03) << 6 > The left operand to a shift operator may be negative (behavior is > implementation-defined). (Use -shiftimplementation to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:341:10: > Array fetch using non-integer, char: b642nib[p[3] & 0x7f] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:341:4: > Assignment of unsigned char to char: nib = b642nib[p[3] & 0x7f] > To ignore signs in type comparisons use +ignoresigns >novell-lum-2.2.0/config/ldapmodify.c:349:12: > Test expression for if not boolean, type int: url > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:362:17: > Owned storage type not released before return > A memory leak has been detected. Only-qualified storage is not released > before the last reference to it is lost. (Use -mustfreeonly to inhibit > warning) > novell-lum-2.2.0/config/ldapmodify.c:222:2: Storage type becomes owned >novell-lum-2.2.0/config/ldapmodify.c:371:3: Assignment of int to ber_len_t: > vlen = (int)(d - s) > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:384:16: > Last reference freeme to owned storage type not released before return > A memory leak has been detected. Storage allocated locally is not released > before the last reference to it is lost. (Use -mustfreefresh to inhibit > warning) > novell-lum-2.2.0/config/ldapmodify.c:375:2: Original reference lost >novell-lum-2.2.0/config/ldapmodify.c:387:8: Operand of ! is non-boolean (int): > !url > The operand of a boolean operator is not a boolean. Use +ptrnegate to allow ! > to be used on pointers. (Use -boolops to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:387:15: > Variable value used before definition > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:389:21: > Variable vlen used before definition > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:398:17: > Fresh storage type not released before return > A memory leak has been detected. Storage allocated locally is not released > before the last reference to it is lost. (Use -mustfreefresh to inhibit > warning) > novell-lum-2.2.0/config/ldapmodify.c:375:2: Fresh storage type created >novell-lum-2.2.0/config/ldapmodify.c:398:17: > Last reference freeme to owned storage type not released before return > A memory leak has been detected. Storage allocated locally is not released > before the last reference to it is lost. (Use -mustfreefresh to inhibit > warning) > novell-lum-2.2.0/config/ldapmodify.c:375:2: Original reference lost >novell-lum-2.2.0/config/ldapmodify.c:400:31: > Function memcpy expects arg 3 to be size_t gets ber_len_t: ((vlen)) > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-lum-2.2.0/config/ldapmodify.c:409:11: > Variable vlen used before definition > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:411:14: > Last reference freeme to owned storage type not released before return > A memory leak has been detected. Storage allocated locally is not released > before the last reference to it is lost. (Use -mustfreefresh to inhibit > warning) > novell-lum-2.2.0/config/ldapmodify.c:375:2: Original reference lost >novell-lum-2.2.0/config/ldapmodify.c: (in function process_ldif_rec) >novell-lum-2.2.0/config/ldapmodify.c:502:22: Unrecognized identifier: > strcasecmp > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:502:8: > Left operand of && is non-boolean (int): > expect_sep && strcasecmp(line, "-") == 0 > The operand of a boolean operator is not a boolean. Use +ptrnegate to allow ! > to be used on pointers. (Use -boolops to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:509:31: > Passed storage &type not completely defined: > ldif_parse_line (..., &type, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:509:38: > Passed storage &val.bv_val not completely defined (val.bv_val is > undefined): ldif_parse_line (..., &val.bv_val, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:509:51: > Passed storage &val.bv_len not completely defined (val.bv_len is > undefined): ldif_parse_line (..., &val.bv_len) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:519:10: Operand of ! is non-boolean (int): > !use_record > The operand of a boolean operator is not a boolean. Use +ptrnegate to allow ! > to be used on pointers. (Use -boolops to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:550:16: Unrecognized identifier: strdup > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:553:20: > Only storage val.bv_val (type char *) derived from variable declared in > this scope is not released (memory leak) > A storage leak due to incomplete deallocation of a structure or deep pointer > is suspected. Unshared storage that is reachable from a reference that is > being deallocated has not yet been deallocated. Splint assumes when an object > is passed as an out only void pointer that the outer object will be > deallocated, but the inner objects will not. (Use -compdestroy to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:553:20: > Fresh storage line not released before return > A memory leak has been detected. Storage allocated locally is not released > before the last reference to it is lost. (Use -mustfreefresh to inhibit > warning) > novell-lum-2.2.0/config/ldapmodify.c:495:23: Fresh storage line created >novell-lum-2.2.0/config/ldapmodify.c:560:8: > Test expression for if not boolean, type int: expect_ct > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:563:10: Operand of ! is non-boolean (int): > !use_record > The operand of a boolean operator is not a boolean. Use +ptrnegate to allow ! > to be used on pointers. (Use -boolops to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:563:24: > Right operand of && is non-boolean (int): !use_record && saw_replica > The operand of a boolean operator is not a boolean. Use +ptrnegate to allow ! > to be used on pointers. (Use -boolops to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:570:11: > Unallocated storage val.bv_val passed as out parameter: val.bv_val > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:571:17: > Fresh storage line not released before return > A memory leak has been detected. Storage allocated locally is not released > before the last reference to it is lost. (Use -mustfreefresh to inhibit > warning) > novell-lum-2.2.0/config/ldapmodify.c:495:23: Fresh storage line created >novell-lum-2.2.0/config/ldapmodify.c:604:14: > Test expression for if not boolean, type int: ldapadd > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:615:8: > Test expression for if not boolean, type int: expect_modop > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:627:5: Return value (type int) ignored: > addmodifyop(&pmo... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalint to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:633:5: Return value (type int) ignored: > addmodifyop(&pmo... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalint to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:638:13: > Test expression for conditional not boolean, type int: replace > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:642:8: > Test expression for if not boolean, type int: expect_newrdn > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:649:20: > Fresh storage line not released before return > A memory leak has been detected. Storage allocated locally is not released > before the last reference to it is lost. (Use -mustfreefresh to inhibit > warning) > novell-lum-2.2.0/config/ldapmodify.c:495:23: Fresh storage line created >novell-lum-2.2.0/config/ldapmodify.c:649:20: > Only storage p not released before return > A memory leak has been detected. Only-qualified storage is not released > before the last reference to it is lost. (Use -mustfreeonly to inhibit > warning) > novell-lum-2.2.0/config/ldapmodify.c:649:20: Storage p becomes only >novell-lum-2.2.0/config/ldapmodify.c:659:4: > Storage val.bv_val is released in one path, but live in another. > The state of a variable is different depending on which branch is taken. This > means no annotation can sensibly be applied to the storage. (Use -branchstate > to inhibit warning) > novell-lum-2.2.0/config/ldapmodify.c:649:20: Storage val.bv_val released >novell-lum-2.2.0/config/ldapmodify.c:661:13: > Test expression for if not boolean, type int: expect_deleteoldrdn > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:677:13: > Test expression for if not boolean, type int: expect_newsup > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:684:20: > Fresh storage line not released before return > A memory leak has been detected. Storage allocated locally is not released > before the last reference to it is lost. (Use -mustfreefresh to inhibit > warning) > novell-lum-2.2.0/config/ldapmodify.c:495:23: Fresh storage line created >novell-lum-2.2.0/config/ldapmodify.c:684:20: > Only storage p not released before return > A memory leak has been detected. Only-qualified storage is not released > before the last reference to it is lost. (Use -mustfreeonly to inhibit > warning) > novell-lum-2.2.0/config/ldapmodify.c:649:20: Storage p becomes only >novell-lum-2.2.0/config/ldapmodify.c:693:4: > Storage val.bv_val is released in one path, but live in another. > The state of a variable is different depending on which branch is taken. This > means no annotation can sensibly be applied to the storage. (Use -branchstate > to inhibit warning) > novell-lum-2.2.0/config/ldapmodify.c:684:20: Storage val.bv_val released >novell-lum-2.2.0/config/ldapmodify.c:695:13: > Test expression for if not boolean, type int: got_all > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:704:4: Return value (type int) ignored: > addmodifyop(&pmo... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalint to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:709:9: > Unallocated storage val.bv_val passed as out parameter: val.bv_val > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:710:2: > Storage val.bv_val is released in one path, but live in another. > The state of a variable is different depending on which branch is taken. This > means no annotation can sensibly be applied to the storage. (Use -branchstate > to inhibit warning) > novell-lum-2.2.0/config/ldapmodify.c:709:9: Storage val.bv_val released >novell-lum-2.2.0/config/ldapmodify.c:717:7: > Left operand of && is non-boolean (int): version && linenum == 1 > The operand of a boolean operator is not a boolean. Use +ptrnegate to allow ! > to be used on pointers. (Use -boolops to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:724:8: > Test expression for if not boolean, type int: delete_entry > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:747:7: > Variable newrdn used after being released > Memory is used after it has been released (either by passing as an only param > or assigning to an only global). (Use -usereleased to inhibit warning) > novell-lum-2.2.0/config/ldapmodify.c:745:9: Storage newrdn released >novell-lum-2.2.0/config/ldapmodify.c:749:9: > Dead storage newrdn passed as out parameter to free: newrdn > Memory is used after it has been released (either by passing as an only param > or assigning to an only global). (Use -usereleased to inhibit warning) > novell-lum-2.2.0/config/ldapmodify.c:747:7: Storage newrdn defined >novell-lum-2.2.0/config/ldapmodify.c: (in function addmodifyop) >novell-lum-2.2.0/config/ldapmodify.c:791:18: > Released storage *pmodsp reachable from parameter at return point > Memory is used after it has been released (either by passing as an only param > or assigning to an only global). (Use -usereleased to inhibit warning) > novell-lum-2.2.0/config/ldapmodify.c:787:38: Storage *pmodsp released >novell-lum-2.2.0/config/ldapmodify.c:794:3: > Only storage pmods assigned to unqualified: *pmodsp = pmods > The only reference to this storage is transferred to another reference (e.g., > by returning it) that does not have the only annotation. This may lead to a > memory leak, since the new reference is not necessarily released. (Use > -onlytrans to inhibit warning) > novell-lum-2.2.0/config/ldapmodify.c:787:29: Storage pmods becomes only >novell-lum-2.2.0/config/ldapmodify.c:811:2: > Clauses exit with pmods referencing only storage in true branch, local > storage in continuation > The state of a variable is different depending on which branch is taken. This > means no annotation can sensibly be applied to the storage. (Use -branchstate > to inhibit warning) > novell-lum-2.2.0/config/ldapmodify.c:787:29: Storage pmods becomes only >novell-lum-2.2.0/config/ldapmodify.c:830:18: > Function returns with possibly null storage derivable from parameter > *pmodsp[]->mod_vals.modv_bvals > A possibly null pointer is reachable from a parameter or global variable that > is not declared using a /*@null@*/ annotation. (Use -nullstate to inhibit > warning) > novell-lum-2.2.0/config/ldapmodify.c:825:37: > Storage *pmodsp[]->mod_vals.modv_bvals may become null >novell-lum-2.2.0/config/ldapmodify.c:842:11: > Function returns with possibly null storage derivable from parameter > *pmodsp[]->mod_vals.modv_bvals > A possibly null pointer is reachable from a parameter or global variable that > is not declared using a /*@null@*/ annotation. (Use -nullstate to inhibit > warning) > novell-lum-2.2.0/config/ldapmodify.c:825:37: > Storage *pmodsp[]->mod_vals.modv_bvals may become null >novell-lum-2.2.0/config/ldapmodify.c: (in function domodify) >novell-lum-2.2.0/config/ldapmodify.c:884:8: Operand of ! is non-boolean (int): > !not > The operand of a boolean operator is not a boolean. Use +ptrnegate to allow ! > to be used on pointers. (Use -boolops to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:886:8: > Test expression for if not boolean, type int: newentry > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c: (in function dodelete) >novell-lum-2.2.0/config/ldapmodify.c:926:39: > Test expression for conditional not boolean, type int: not > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:927:8: Operand of ! is non-boolean (int): > !not > The operand of a boolean operator is not a boolean. Use +ptrnegate to allow ! > to be used on pointers. (Use -boolops to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:947:2: Return value (type int) ignored: > putchar('\n') > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalint to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c: (in function dorename) >novell-lum-2.2.0/config/ldapmodify.c:961:47: > Test expression for conditional not boolean, type int: not > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:962:7: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:965:15: > Test expression for conditional not boolean, type int: deleteoldrdn > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:967:8: Operand of ! is non-boolean (int): > !not > The operand of a boolean operator is not a boolean. Use +ptrnegate to allow ! > to be used on pointers. (Use -boolops to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:988:2: Return value (type int) ignored: > putchar('\n') > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalint to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c: (in function read_one_record) >novell-lum-2.2.0/config/ldapmodify.c:1002:29: > Function fgets expects arg 2 to be int gets size_t: sizeof((line)) > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-lum-2.2.0/config/ldapmodify.c:1004:13: > Variable len initialized to type size_t, expects int: strlen(line) > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-lum-2.2.0/config/ldapmodify.c:1023:38: > Function realloc expects arg 2 to be size_t gets int: lmax > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-lum-2.2.0/config/ldapmodify.c:1026:12: > Null storage returned as non-null: NULL > Function returns a possibly null pointer, but is not declared using > /*@null@*/ annotation of result. If function may return NULL, add /*@null@*/ > annotation to the return value declaration. (Use -nullret to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:1034:8: > Possibly null storage buf returned as non-null: (buf) > Function returns a possibly null pointer, but is not declared using > /*@null@*/ annotation of result. If function may return NULL, add /*@null@*/ > annotation to the return value declaration. (Use -nullret to inhibit warning) > novell-lum-2.2.0/config/ldapmodify.c:1000:8: Storage buf may become null >novell-lum-2.2.0/config/ldapmodify.c: (in function mods_free) >novell-lum-2.2.0/config/ldapmodify.c:1064:9: > Unqualified storage (char *)mods[i] passed as only param: > free ((char *)mods[i]) > Unqualified storage is transferred in an inconsistent way. (Use > -unqualifiedtrans to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:1067:7: > Test expression for if not boolean, type int: freemods > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:1068:9: > Implicitly temp storage mods passed as only param: free ((char *)mods) > Temp storage (associated with a formal parameter) is transferred to a > non-temporary reference. The storage may be released or new aliases created. > (Use -temptrans to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c: (in function bvecfree) >novell-lum-2.2.0/config/ldapmodify.c:1085:8: > Only storage vec[]->bv_val (type char *) derived from released storage is > not released (memory leak): vec[i] > A storage leak due to incomplete deallocation of a structure or deep pointer > is suspected. Unshared storage that is reachable from a reference that is > being deallocated has not yet been deallocated. Splint assumes when an object > is passed as an out only void pointer that the outer object will be > deallocated, but the inner objects will not. (Use -compdestroy to inhibit > warning) >novell-lum-2.2.0/config/ldapmodify.c:1085:8: > Unqualified storage vec[i] passed as only param: free (vec[i]) > Unqualified storage is transferred in an inconsistent way. (Use > -unqualifiedtrans to inhibit warning) >novell-lum-2.2.0/config/ldapmodify.c:1087:8: > Implicitly temp storage vec passed as only param: free (vec) > Temp storage (associated with a formal parameter) is transferred to a > non-temporary reference. The storage may be released or new aliases created. > (Use -temptrans to inhibit warning) > >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/namcdapi/namcdapi.c ] >novell-lum-2.2.0/namcdapi/namcdapi.c: (in function nam_stat) >novell-lum-2.2.0/namcdapi/namcdapi.c:25:14: Unrecognized identifier: PATH_MAX > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/namcdapi/namcdapi.c:28:12: Unrecognized identifier: lstat > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/namcdapi/namcdapi.c:28:6: > Test expression for if is assignment expression: > ret = lstat(fname, statbuf) > The condition test is an assignment expression. Probably, you mean to use == > instead of =. If an assignment is intended, add an extra parentheses nesting > (e.g., if ((a = b)) ...) to suppress this message. (Use -predassign to > inhibit warning) >novell-lum-2.2.0/namcdapi/namcdapi.c:28:6: > Test expression for if not boolean, type int: ret = lstat(fname, statbuf) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/namcdapi/namcdapi.c:35:14: > Arrow access field of non-struct or union pointer (struct stat *): > statbuf->st_mode > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/namcdapi/namcdapi.c:35:27: Unrecognized identifier: S_IFLNK > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/namcdapi/namcdapi.c:40:15: Unrecognized identifier: realpath > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/namcdapi/namcdapi.c:42:4: Unrecognized identifier: syslog > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/namcdapi/namcdapi.c:42:11: Unrecognized identifier: LOG_ERR > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/pam/pam_ap.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/pam/pamfunc.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/pam/pam_misc.c ] >novell-lum-2.2.0/pam/pam_misc.c:57:19: > Global dummychar initialized to null value: char * dummychar = 0 = 0 > A reference with no null annotation is assigned or initialized to NULL. Use > /*@null@*/ to declare the reference as a possibly null pointer. (Use > -nullassign to inhibit warning) >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/pam/md5.c ] >novell-lum-2.2.0/pam/md5.c: (in function GoodMD5Init) >novell-lum-2.2.0/pam/md5.c:70:8: Arrow access field of non-struct or union > pointer (struct MD5Context *): ctx->buf > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/md5.c:71:8: Arrow access field of non-struct or union > pointer (struct MD5Context *): ctx->buf > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/md5.c:72:8: Arrow access field of non-struct or union > pointer (struct MD5Context *): ctx->buf > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/md5.c:73:8: Arrow access field of non-struct or union > pointer (struct MD5Context *): ctx->buf > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/md5.c:75:8: Arrow access field of non-struct or union > pointer (struct MD5Context *): ctx->bits > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/md5.c:76:8: Arrow access field of non-struct or union > pointer (struct MD5Context *): ctx->bits > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/md5.c: (in function GoodMD5Update) >novell-lum-2.2.0/pam/md5.c:85:12: Unrecognized identifier: uint32 > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/pam/md5_crypt.c ] >novell-lum-2.2.0/pam/md5_crypt.c:37:2: > Variable itoa64 initialized to type char *, expects unsigned char []: > "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/md5_crypt.c: (in function to64) >novell-lum-2.2.0/pam/md5_crypt.c:43:3: Assignment of unsigned char to char: > *s++ = itoa64[v & 0x3f] > To ignore signs in type comparisons use +ignoresigns >novell-lum-2.2.0/pam/md5_crypt.c: (in function Goodcrypt_md5) >novell-lum-2.2.0/pam/md5_crypt.c:63:10: Unrecognized identifier: MD5_CTX > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/pam/creat_home.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/pam/ntsolsync.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/pam/cryptlib/md4.c ] >novell-lum-2.2.0/pam/cryptlib/md4.c:196:3: > Initial value of Padding[0] is type int, expects nuint8: 0x80 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/md4.c:196:9: > Initial value of Padding[1] is type int, expects nuint8: 0 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/md4.c:196:12: > Initial value of Padding[2] is type int, expects nuint8: 0 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/md4.c:196:15: > Initial value of Padding[3] is type int, expects nuint8: 0 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/md4.c:199:3: > Additional initialization errors for Padding not reported >novell-lum-2.2.0/pam/cryptlib/md4.c: (in function MD4_Digest) >novell-lum-2.2.0/pam/cryptlib/md4.c:231:12: > Passed storage context contains 3 undefined fields: State, Count, Buffer > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/md4.c: (in function MD4Update) >novell-lum-2.2.0/pam/cryptlib/md4.c:320:4: Assignment of int to nuint: > uPartLen = (64 - uIndex) > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/md4.c:327:49: > Function memcpy expects arg 3 to be size_t gets nuint: uPartLen > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/md4.c:345:50: > Function memcpy expects arg 3 to be size_t gets unsigned int: > (uInputLen - i) > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-lum-2.2.0/pam/cryptlib/md4.c: (in function MD4Final) >novell-lum-2.2.0/pam/cryptlib/md4.c:380:11: > Passed storage bits not completely defined (*bits is undefined): > Encode (bits, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/md4.c:386:4: Assignment of int to nuint: > uPadLen = (uIndex < 56) ? (56 - uIndex) : (120 - uIndex) > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/md4.c: (in function MD4Transform) >novell-lum-2.2.0/pam/cryptlib/md4.c:434:10: > Passed storage x not completely defined (*x is undefined): Decode (x, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/md4.c:149:1: > Function exported but not used outside md4: MD4Init > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-lum-2.2.0/pam/cryptlib/md4.c:269:1: Definition of MD4Init >novell-lum-2.2.0/pam/cryptlib/md4.c:155:1: > Function exported but not used outside md4: MD4Update > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-lum-2.2.0/pam/cryptlib/md4.c:347:1: Definition of MD4Update >novell-lum-2.2.0/pam/cryptlib/md4.c:163:1: > Function exported but not used outside md4: MD4Final > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-lum-2.2.0/pam/cryptlib/md4.c:404:1: Definition of MD4Final >novell-lum-2.2.0/pam/cryptlib/md4.c:170:1: > Function exported but not used outside md4: MD4Transform > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-lum-2.2.0/pam/cryptlib/md4.c:506:1: Definition of MD4Transform >novell-lum-2.2.0/pam/cryptlib/md4.c:177:1: > Function exported but not used outside md4: Encode > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-lum-2.2.0/pam/cryptlib/md4.c:546:1: Definition of Encode >novell-lum-2.2.0/pam/cryptlib/md4.c:185:1: > Function exported but not used outside md4: Decode > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-lum-2.2.0/pam/cryptlib/md4.c:587:1: Definition of Decode > >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/pam/cryptlib/des.c ] >novell-lum-2.2.0/pam/cryptlib/des.c:176:17: > Function parameter deskey declared as manifest array (size constant is > meaningless) > A formal parameter is declared as an array with size. The size of the array > is ignored in this context, since the array formal parameter is treated as a > pointer. (Use -fixedformalarray to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:182:17: > Function parameter deskey declared as manifest array (size constant is > meaningless) > A formal parameter is declared as an array with size. The size of the array > is ignored in this context, since the array formal parameter is treated as a > pointer. (Use -fixedformalarray to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:196:9: > Initial value of pc1[0] is type int, expects nuint8: 57 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:196:13: > Initial value of pc1[1] is type int, expects nuint8: 49 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:196:17: > Initial value of pc1[2] is type int, expects nuint8: 41 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:196:21: > Initial value of pc1[3] is type int, expects nuint8: 33 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:204:3: > Additional initialization errors for pc1 not reported >novell-lum-2.2.0/pam/cryptlib/des.c:211:9: > Initial value of totrot[0] is type int, expects nuint8: 1 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:211:11: > Initial value of totrot[1] is type int, expects nuint8: 2 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:211:13: > Initial value of totrot[2] is type int, expects nuint8: 4 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:211:15: > Initial value of totrot[3] is type int, expects nuint8: 6 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:212:3: > Additional initialization errors for totrot not reported >novell-lum-2.2.0/pam/cryptlib/des.c:219:9: > Initial value of pc2[0] is type int, expects nuint8: 14 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:219:13: > Initial value of pc2[1] is type int, expects nuint8: 17 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:219:17: > Initial value of pc2[2] is type int, expects nuint8: 11 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:219:21: > Initial value of pc2[3] is type int, expects nuint8: 24 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:227:3: > Additional initialization errors for pc2 not reported >novell-lum-2.2.0/pam/cryptlib/des.c:233:9: > Initial value of pc3[0] is type int, expects nuint8: 58 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:233:13: > Initial value of pc3[1] is type int, expects nuint8: 50 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:233:17: > Initial value of pc3[2] is type int, expects nuint8: 42 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:233:21: > Initial value of pc3[3] is type int, expects nuint8: 34 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:241:3: > Additional initialization errors for pc3 not reported >novell-lum-2.2.0/pam/cryptlib/des.c:247:9: > Initial value of pc4[0] is type int, expects nuint8: 32 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:247:14: > Initial value of pc4[1] is type int, expects nuint8: 1 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:247:18: > Initial value of pc4[2] is type int, expects nuint8: 2 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:247:22: > Initial value of pc4[3] is type int, expects nuint8: 3 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:255:3: > Additional initialization errors for pc4 not reported >novell-lum-2.2.0/pam/cryptlib/des.c:261:9: > Initial value of pc5[0] is type int, expects nuint8: 16 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:261:14: > Initial value of pc5[1] is type int, expects nuint8: 7 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:261:17: > Initial value of pc5[2] is type int, expects nuint8: 20 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:261:21: > Initial value of pc5[3] is type int, expects nuint8: 21 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:269:3: > Additional initialization errors for pc5 not reported >novell-lum-2.2.0/pam/cryptlib/des.c:275:9: > Initial value of pc6[0] is type int, expects nuint8: 40 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:275:14: > Initial value of pc6[1] is type int, expects nuint8: 8 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:275:17: > Initial value of pc6[2] is type int, expects nuint8: 48 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:275:21: > Initial value of pc6[3] is type int, expects nuint8: 16 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:283:3: > Additional initialization errors for pc6 not reported >novell-lum-2.2.0/pam/cryptlib/des.c:420:3: > Initial value of odd_parity[0] is type int, expects nuint8: 1 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:420:7: > Initial value of odd_parity[1] is type int, expects nuint8: 1 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:420:11: > Initial value of odd_parity[2] is type int, expects nuint8: 2 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:420:15: > Initial value of odd_parity[3] is type int, expects nuint8: 2 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:435:66: > Additional initialization errors for odd_parity not reported >novell-lum-2.2.0/pam/cryptlib/des.c:440:9: > Initial value of shift_count[0] is type int, expects nuint8: 1 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:440:12: > Initial value of shift_count[1] is type int, expects nuint8: 1 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:440:15: > Initial value of shift_count[2] is type int, expects nuint8: 2 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:440:18: > Initial value of shift_count[3] is type int, expects nuint8: 2 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:441:3: > Additional initialization errors for shift_count not reported >novell-lum-2.2.0/pam/cryptlib/des.c: (in function des_ecb_encrypt) >novell-lum-2.2.0/pam/cryptlib/des.c:461:27: > Passed storage keySchedule not completely defined (*keySchedule is > undefined): des_set_key (..., keySchedule, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c: (in function des_ecb_encrypt_with_index) >novell-lum-2.2.0/pam/cryptlib/des.c:490:27: > Passed storage key1 not completely defined (*key1 is undefined): > sid_to_key1 (..., key1) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:491:27: > Passed storage key2 not completely defined (*key2 is undefined): > sid_to_key2 (..., key2) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:493:27: > Passed storage keySchedule1 not completely defined (*keySchedule1 is > undefined): des_set_key (..., keySchedule1, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:496:27: > Passed storage keySchedule2 not completely defined (*keySchedule2 is > undefined): des_set_key (..., keySchedule2, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c: (in function des_ecb_decrypt) >novell-lum-2.2.0/pam/cryptlib/des.c:524:27: > Passed storage keySchedule not completely defined (*keySchedule is > undefined): des_set_key (..., keySchedule, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c: (in function des_ecb_decrypt_with_index) >novell-lum-2.2.0/pam/cryptlib/des.c:552:27: > Passed storage key1 not completely defined (*key1 is undefined): > sid_to_key1 (..., key1) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:553:27: > Passed storage key2 not completely defined (*key2 is undefined): > sid_to_key2 (..., key2) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:555:27: > Passed storage keySchedule1 not completely defined (*keySchedule1 is > undefined): des_set_key (..., keySchedule1, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:559:27: > Passed storage keySchedule2 not completely defined (*keySchedule2 is > undefined): des_set_key (..., keySchedule2, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c: (in function des_get_block) >novell-lum-2.2.0/pam/cryptlib/des.c:631:28: > Value *PBlock used before definition > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:632:22: Value *block used before definition > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:622:17: Parameter pBlock not used > A function parameter is not used in the body of the function. If the argument > is needed for type compatibility or future plans, use /*@unused@*/ in the > argument declaration. (Use -paramuse to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c: (in function des_invert) >novell-lum-2.2.0/pam/cryptlib/des.c:651:24: > Left operand of >> may be negative (long int): (value & 0xFF00FF00L) >> 8 > The left operand to a shift operator may be negative (behavior is > implementation-defined). (Use -shiftimplementation to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:651:55: > Left operand of << may be negative (long int): (value & 0x00FF00FFL) << 8 > The left operand to a shift operator may be negative (behavior is > implementation-defined). (Use -shiftimplementation to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:651:23: > Variable work initialized to type long int, expects nuint32: > ((value & 0xFF00FF00L) >> 8) | ((value & 0x00FF00FFL) << 8) > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c: (in function des_process_block) >novell-lum-2.2.0/pam/cryptlib/des.c:725:33: > Passed storage &l not completely defined: des_get_block (..., &l, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:725:37: > Passed storage &r not completely defined: des_get_block (..., &r) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:728:20: > Test expression for for not boolean, type nint: i > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/pam/cryptlib/des.c: (in function des_set_key) >novell-lum-2.2.0/pam/cryptlib/des.c:831:10: > Incompatible types for - (nuint8, int): pc1[j] - 1 > To make char and int types equivalent, use +charint. >novell-lum-2.2.0/pam/cryptlib/des.c:842:26: > Test expression for conditional not boolean, type nuint8: > (key[l >> 3] & bytebit[m]) > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:860:27: > Incompatible types for + (nuint32, nuint8): j + totrot[i] > To make char and int types equivalent, use +charint. >novell-lum-2.2.0/pam/cryptlib/des.c:871:18: > Incompatible types for - (nuint8, int): pc2[j] - 1 > To make char and int types equivalent, use +charint. >novell-lum-2.2.0/pam/cryptlib/des.c:871:14: > Test expression for if not boolean, type nuint8: pcr[pc2[j] - 1] > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c: (in function des_set_odd_parity) >novell-lum-2.2.0/pam/cryptlib/des.c:928:26: > Array fetch using non-integer, nuint8: odd_parity[pKey[i]] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c: (in function lm_permute) >novell-lum-2.2.0/pam/cryptlib/des.c:977:28: > Incompatible types for - (nuint8, int): p[i] - 1 > To make char and int types equivalent, use +charint. >novell-lum-2.2.0/pam/cryptlib/des.c: (in function lm_lshift) >novell-lum-2.2.0/pam/cryptlib/des.c:1009:23: Value out[] used before definition > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c: (in function lm_concat) >novell-lum-2.2.0/pam/cryptlib/des.c:1033:18: > Test expression for while not boolean, type nint: l1-- > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1038:18: > Test expression for while not boolean, type nint: l2-- > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/pam/cryptlib/des.c: (in function lm_dohash) >novell-lum-2.2.0/pam/cryptlib/des.c:1105:20: > Passed storage pk1 not completely defined (*pk1 is undefined): > lm_permute (pk1, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1122:30: > Function lm_lshift expects arg 2 to be nuint gets nuint8: shift_count[i] > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1123:30: > Function lm_lshift expects arg 2 to be nuint gets nuint8: shift_count[i] > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1125:27: > Passed storage cd not completely defined (*cd is undefined): > lm_concat (cd, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1126:28: > Passed storage ki[] not completely defined (*(ki[]) is undefined): > lm_permute (ki[i], ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1130:20: > Passed storage pd1 not completely defined (*pd1 is undefined): > lm_permute (pd1, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1149:28: > Passed storage er not completely defined (*er is undefined): > lm_permute (er, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1151:36: > Test expression for conditional not boolean, type nuint: forw > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1151:43: > Conditional clauses are not of same type: i (nuint), 15 - i (int) > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1151:24: > Passed storage erk not completely defined (*erk is undefined): > lm_xor (erk, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1167:29: > Array element b[][0] used before definition > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1167:25: Assignment of nuint8 to nint: > m = (b[j][0] << 1) | b[j][5] > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1168:25: Assignment of nuint8 to nint: > n = (b[j][1] << 3) | (b[j][2] << 2) | (b[j][3] << 1) | b[j][4] > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1172:74: > Right operand of << may be negative (int): 1 << (3 - k) > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1172:51: > Test expression for conditional not boolean, type int: > (sbox[j][m][n] & (1 << (3 - k))) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1186:28: > Passed storage pcb not completely defined (*pcb is undefined): > lm_permute (pcb, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1187:24: > Passed storage r2 not completely defined (*r2 is undefined): > lm_xor (r2, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1200:19: > Passed storage rl not completely defined (*rl is undefined): > lm_concat (rl, ...) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c: (in function lm_pwdhash) >novell-lum-2.2.0/pam/cryptlib/des.c:1230:25: > Passed storage key2 not completely defined (*key2 is undefined): > str_to_key (..., key2) > Storage derivable from a parameter, return value or global is not defined. > Use /*@out@*/ to denote passed or returned storage which need not be defined. > (Use -compdef to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1234:53: > Right operand of << may be negative (int): 1 << (7 - (i % 8)) > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1234:34: > Test expression for conditional not boolean, type nuint8: > (in[i / 8] & (1 << (7 - (i % 8)))) > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1235:56: > Right operand of << may be negative (int): 1 << (7 - (i % 8)) > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1235:35: > Test expression for conditional not boolean, type nuint8: > (key2[i / 8] & (1 << (7 - (i % 8)))) > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1236:17: Assignment of int to nuint8: > outb[i] = 0 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1243:17: Assignment of int to nuint8: > out[i] = 0 > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1248:21: > Test expression for if not boolean, type nuint8: outb[i] > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1250:45: > Right operand of << may be negative (int): 1 << (7 - (i % 8)) > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c: (in function lm_digest) >novell-lum-2.2.0/pam/cryptlib/des.c:1272:30: > Variable secretKey initialized to type char *, expects nuint8 []: > "KGS!@#$%" > Types are incompatible. (Use -type to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1292:17: > Function parameter deskey declared as manifest array (size constant is > meaningless) > A formal parameter is declared as an array with size. The size of the array > is ignored in this context, since the array formal parameter is treated as a > pointer. (Use -fixedformalarray to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:1323:17: > Function parameter deskey declared as manifest array (size constant is > meaningless) > A formal parameter is declared as an array with size. The size of the array > is ignored in this context, since the array formal parameter is treated as a > pointer. (Use -fixedformalarray to inhibit warning) >novell-lum-2.2.0/pam/cryptlib/des.c:126:1: > Function exported but not used outside des: lm_permute > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-lum-2.2.0/pam/cryptlib/des.c:980:1: Definition of lm_permute >novell-lum-2.2.0/pam/cryptlib/des.c:134:1: > Function exported but not used outside des: lm_lshift > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-lum-2.2.0/pam/cryptlib/des.c:1012:1: Definition of lm_lshift >novell-lum-2.2.0/pam/cryptlib/des.c:141:1: > Function exported but not used outside des: lm_concat > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-lum-2.2.0/pam/cryptlib/des.c:1043:1: Definition of lm_concat >novell-lum-2.2.0/pam/cryptlib/des.c:150:1: > Function exported but not used outside des: lm_xor > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-lum-2.2.0/pam/cryptlib/des.c:1070:1: Definition of lm_xor >novell-lum-2.2.0/pam/cryptlib/des.c:158:1: > Function exported but not used outside des: lm_dohash > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-lum-2.2.0/pam/cryptlib/des.c:1203:1: Definition of lm_dohash >novell-lum-2.2.0/pam/cryptlib/des.c:166:1: > Function exported but not used outside des: lm_pwdhash > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-lum-2.2.0/pam/cryptlib/des.c:1254:1: Definition of lm_pwdhash >novell-lum-2.2.0/pam/cryptlib/des.c:298:9: > Variable exported but not used outside des: Spbox > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/pam/test/namapitest.c ] >novell-lum-2.2.0/pam/test/namapitest.c: (in function main) >novell-lum-2.2.0/pam/test/namapitest.c:79:15: Unrecognized identifier: > PAM_NAM_PATH > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/pam/test/namapitest.c:82:3: Unrecognized identifier: > pNamGetUserFDN > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/pam/test/namapitest.c:83:3: Unrecognized identifier: > pNamGetLDAPServerDNSOrIP > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/pam/test/namapitest.c:84:3: Unrecognized identifier: > pNamGetLDAPServerPort > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/pam/test/namapitest.c:85:3: Unrecognized identifier: > pNamGetLDAPServerCA > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/pam/test/namapitest.c:86:3: Unrecognized identifier: > pNamGetLDAPHandle > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/pam/test/namapitest.c:87:3: Unrecognized identifier: > pNamGetUserFDNfromUID > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/pam/test/namapitest.c:88:3: Unrecognized identifier: > pNamGetFDNforWS > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/pam/test/namapitest.c:89:3: Unrecognized identifier: > pNamGetEffectivePrivForWS > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/pam/test/namapitest.c:91:3: Unrecognized identifier: > pNamGetUserFDNfromUIDCacheOnly > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/pam/test/namapitest.c:99:9: > Argument to exit has implementation defined behavior: 1 > The argument to exit should be 0, EXIT_SUCCESS or EXIT_FAILURE (Use -exitarg > to inhibit warning) >novell-lum-2.2.0/pam/test/namapitest.c:104:29: > New fresh storage (type char *) passed as implicitly temp (not released): > dlerror() > A memory leak has been detected. Storage allocated locally is not released > before the last reference to it is lost. (Use -mustfreefresh to inhibit > warning) >novell-lum-2.2.0/pam/test/namapitest.c:107:56: Unrecognized identifier: > NAM_SUCCESS > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/pam/test/namapitest.c:119:33: > Variable ldapServerPort used before definition > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-lum-2.2.0/pam/test/namapitest.c:124:72: > Variable fileEncoding used before definition > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-lum-2.2.0/pam/test/namapitest.c:139:82: > Format argument 2 to fprintf (%08x) expects unsigned int gets int: > privileges > To ignore signs in type comparisons use +ignoresigns > novell-lum-2.2.0/pam/test/namapitest.c:139:65: Corresponding format code >novell-lum-2.2.0/pam/test/namapitest.c:139:82: > Variable privileges used before definition > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-lum-2.2.0/pam/test/namapitest.c:157:11: > Fresh storage hd not released before return > A memory leak has been detected. Storage allocated locally is not released > before the last reference to it is lost. (Use -mustfreefresh to inhibit > warning) > novell-lum-2.2.0/pam/test/namapitest.c:79:2: Fresh storage hd created >novell-lum-2.2.0/pam/test/namapitest.c:32:6: Variable rc declared but not used > A variable is declared but never used. Use /*@unused@*/ in front of > declaration to suppress message. (Use -varuse to inhibit warning) > >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/pam/test/bulkadd.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/pam/test/ldapprobe.c ] >novell-lum-2.2.0/pam/test/ldapprobe.c: (in function main) >novell-lum-2.2.0/pam/test/ldapprobe.c:15:2: Unrecognized identifier: LDAP > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/pam/test/ldapprobe.c:15:8: Unrecognized identifier: ld > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/namid/namid.c ] >novell-lum-2.2.0/namid/namid.c:31:22: Unrecognized identifier: MAX_BUF_SIZE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-lum-2.2.0/namid/namid.c:32:26: Unrecognized identifier: LDAP_PORT > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/unix2edir/main.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/unix2edir/unix2edir.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/unix2edir/backend.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/unix2edir/frontend.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/unix2edir/ssl_func.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/namcd/namcd.c ] >novell-lum-2.2.0/namcd/namcd.c:1307:66: Comment starts inside comment > A comment open sequence (/*) appears within a comment. This usually means an > earlier comment was not closed. (Use -nestcomment to inhibit warning) >novell-lum-2.2.0/namcd/namcd.c:91:19: > No type before declaration name > (implicit int type): workreq_t : > static <any> > A variable declaration has no explicit type. The type is implicitly int. > (Use -imptype to inhibit warning) >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/namcd/requests.c ] >novell-lum-2.2.0/namcd/requests.c:28:23: > No type before declaration name (implicit int type): worker_priv_t : > extern <any> > A variable declaration has no explicit type. The type is implicitly int. > (Use -imptype to inhibit warning) >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/namcd/nss_ldap.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/namcd/hash.c ] >novell-lum-2.2.0/namcd/hash.c:755:17: Comment starts inside comment > A comment open sequence (/*) appears within a comment. This usually means an > earlier comment was not closed. (Use -nestcomment to inhibit warning) >novell-lum-2.2.0/namcd/hash.c:1246:17: Comment starts inside comment > A comment open sequence (/*) appears within a comment. This usually means an > earlier comment was not closed. (Use -nestcomment to inhibit warning) >novell-lum-2.2.0/namcd/hash.c:12:27: No type before declaration name (implicit > int type): uint32 : extern <any> > A variable declaration has no explicit type. The type is implicitly int. > (Use -imptype to inhibit warning) >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/namcd/cache.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/nss/nss_ap.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/nss/nds-grp.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/nss/nds-pwd.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/nss/nds-spwd.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/cmd/ndsgroupadd.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/cmd/common_func.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/cmd/ndsgroupdel.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/cmd/ndsgrouplist.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/cmd/ndsgroupmod.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/cmd/ndsuseradd.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/cmd/ndsuserdel.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/cmd/ndsuserlist.c ] >------------------------------------------------------------------------------------------ >[ FILE: novell-lum-2.2.0/cmd/ndsusermod.c ] >------------------------------------------------------------------------------------------ > > >for i in $(find novell-lum-2.2.0/ -name "*.c");do echo "[ FILE: $i ]"; splint -warnposix -warnflags -preproc +forcehints +showsummary +stats -namechecks -exportconst $i 2>/dev/null;echo "------------------------------------------------------------------------------------------";done > 0_SCAN_2.splint > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 155003
:
74859
| 74920 |
75134
|
75596
|
76619