Bugzilla – Attachment 75596 Details for
Bug 155003
AUDIT-0: novell-lum: eDirectory client support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
0_SCAN.splint
0_SCAN.splint (text/plain), 1.24 MB, created by
Thomas Biege
on 2006-03-29 16:27:53 UTC
(
hide
)
Description:
0_SCAN.splint
Filename:
MIME Type:
Creator:
Thomas Biege
Created:
2006-03-29 16:27:53 UTC
Size:
1.24 MB
patch
obsolete
>[ FILE: ./novell-NLDAPsdk-8.8/.pc/protofypes.patch/nldapx/ldapssl/src/ldapssl/ssl_io.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c ] >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function _init_lib) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:20:5: > Test expression for if not boolean, type int: INITFLAG > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:21:10: > Unqualified static storage hndl returned as implicitly only: hndl > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:21:15: > Function returns with global hndl referencing released storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:21:10: > Storage hndl released >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:24: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:33:2: > Return value (type int) ignored: closedir(dir) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:35:19: > Arrow access from possibly null pointer ent: ent->d_name > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:26:16: > Storage ent may become null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:35:2: > Only storage assigned to unqualified static: > hndl = dlopen(ent->d_name, 0x00001) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:37:9: > Unqualified static storage hndl returned as implicitly only: hndl > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:37:14: > Fresh storage dir 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:23:6: > Fresh storage dir created >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:37:14: > Function returns with global hndl referencing released storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:37:9: > Storage hndl released >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function _close_lib) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:42:2: > Return value (type int) ignored: dlclose(handle) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function _dummy) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:48:2: > Return value (type int) ignored: ber_printf(NULL,... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:49:2: > Return value (type ber_tag_t) ignored: ber_scanf(NULL, ... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalother to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_open) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:63:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:63:42: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:65:2: > Assignment of void * to [function (char *, int) returns LDAP *] *: > ldap_open_1 = dlsym(hndl, "ldap_open") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:67:33: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:69:22: > Unrecognized identifier: host > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:69:27: > Unrecognized identifier: port > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_init) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:78:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:78:42: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:80:2: > Assignment of void * to [function (char *, int) returns LDAP *] *: > ldap_init_1 = dlsym(hndl, "ldap_init") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:83: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_get_option) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:164:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:166:2: > Assignment of void * to [function (LDAP *, int, void *) returns int] *: > ldap_get_option_1 = dlsym(hndl, "ldap_get_option") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:172:30: > Unrecognized identifier: ld > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:172:33: > Unrecognized identifier: option > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:172:40: > Unrecognized identifier: outvalue > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_set_option) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:183:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:185:2: > Assignment of void * to [function (LDAP *, int, void *) returns int] *: > ldap_set_option_1 = dlsym(hndl, "ldap_set_option") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:191:40: > Unrecognized identifier: invalue > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_set_rebind_proc) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:207:7: > Assignment of void * to [function (LDAP *, LDAP_REBIND_PROC *) returns int] > *: ldap_set_rebind_1 = dlsym(hndl, "ldap_set_rebind") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:210:33: > Unrecognized identifier: ldap_proc > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_control_free) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:224:2: > Assignment of void * to [function (LDAPControl *) returns void] *: > ldap_control_free_1 = dlsym(hndl, "ldap_control_free") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:231:25: > Unrecognized identifier: ctrl > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_controls_free) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:242:2: > Assignment of void * to [function (LDAPControl **) returns void] *: > ldap_controls_free_1 = dlsym(hndl, "ldap_controls_free") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:248:26: > Unrecognized identifier: ctrls > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_extended_operation) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:269:2: > Assignment of void * to [function (LDAP *, char *, struct berval *, > LDAPControl **, LDAPControl **, int *) returns int] *: > ldap_extended_operation_1 = dlsym(hndl, "ldap_extended_operation") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:275:41: > Unrecognized identifier: reqoid > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:275:48: > Unrecognized identifier: reqdata > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:275:56: > Unrecognized identifier: serverctrls > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:276:3: > Unrecognized identifier: clientctrls > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:276:15: > Unrecognized identifier: msgidp > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_extended_operation_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:294:2: > Assignment of void * to [function (LDAP *, char *, struct berval *, > LDAPControl **, LDAPControl **, char **, struct berval **) returns int] *: > ldap_extended_operation_s_1 = dlsym(hndl, "ldap_extended_operation_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:301:3: > Unrecognized identifier: retoidp > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:301:11: > Unrecognized identifier: retdatap > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_parse_extended_result) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:316:2: > Assignment of void * to [function (LDAP *, LDAPMessage *, char **, struct > berval **, int) returns int] *: ldap_parse_extended_result_1 = dlsym(hndl, > "ldap_parse_extended_result") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:322:49: > Unrecognized identifier: res > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:322:70: > Unrecognized identifier: freeit > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_parse_extended_partial) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:341:9: > Assignment of void * to [function (LDAP *, LDAPMessage *, char **, struct > berval **, LDAPControl ***, int) returns int] *: > ldap_parse_extended_partial_1 = dlsym(hndl, "ldap_parse_extended_partial") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_abandon_ext) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:390:2: > Assignment of void * to [function (LDAP *, int, LDAPControl **, LDAPControl > **) returns int] *: ldap_abandon_ext_1 = dlsym(hndl, "ldap_abandon_ext") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:396:39: > Unrecognized identifier: msgid > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_abandon) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:408:2: > Assignment of void * to [function (LDAP *, int) returns int] *: > ldap_abandon_1 = dlsym(hndl, "ldap_abandon") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_add_ext) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:433:2: > Assignment of void * to [function (LDAP *, char *, LDAPMod **, LDAPControl > **, LDAPControl **, int *) returns int] *: > ldap_add_ext_1 = dlsym(hndl, "ldap_add_ext") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:439:35: > Unrecognized identifier: dn > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:439:38: > Unrecognized identifier: attrs > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_add_ext_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:454:2: > Assignment of void * to [function (LDAP *, char *, LDAPMod **, LDAPControl > **, LDAPControl **) returns int] *: ldap_add_ext_s_1 = dlsym(hndl, > "ldap_add_ext_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_add) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:473:2: > Assignment of void * to [function (LDAP *, char *, LDAPMod **) returns int] > *: ldap_add_1 = dlsym(hndl, "ldap_add") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_add_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:492:2: > Assignment of void * to [function (LDAP *, char *, LDAPMod **) returns int] > *: ldap_add_s_1 = dlsym(hndl, "ldap_add_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_sasl_bind) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:517:14: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:519:2: > Assignment of void * to [function (LDAP *, char *, char *, struct berval *, > LDAPControl **, LDAPControl **, int *) returns int] *: > ldap_sasl_bind_1 = dlsym(hndl, "ldap_sasl_bind") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:525:40: > Unrecognized identifier: mechanism > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:525:50: > Unrecognized identifier: cred > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_sasl_bind_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:541:14: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:543:2: > Assignment of void * to [function (LDAP *, char *, char *, struct berval *, > LDAPControl **, LDAPControl **, struct berval **) returns int] *: > ldap_sasl_bind_s_1 = dlsym(hndl, "ldap_sasl_bind_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:549:81: > Unrecognized identifier: servercredp > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_parse_sasl_bind_result) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:561:14: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:563:2: > Assignment of void * to [function (LDAP *, LDAPMessage *, struct berval **, > int) returns int] *: ldap_parse_sasl_bind_result_1 = dlsym(hndl, > "ldap_parse_sasl_bind_result") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_bind) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:580:14: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:582:2: > Assignment of void * to [function (LDAP *, char *, char *, int) returns > int] *: ldap_bind_1 = dlsym(hndl, "ldap_bind") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:589:32: > Unrecognized identifier: who > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:589:36: > Unrecognized identifier: passwd > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:589:43: > Unrecognized identifier: authmethod > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_bind_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:601:14: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:603:7: > Assignment of void * to [function (LDAP *, char *, char *, int) returns > int] *: ldap_bind_s_1 = dlsym(hndl, "ldap_bind_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_simple_bind) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:618:14: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:620:7: > Assignment of void * to [function (LDAP *, char *, char *) returns int] *: > ldap_simple_bind_1 = dlsym(hndl, "ldap_simple_bind") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_simple_bind_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:637:2: > Assignment of void * to [function (LDAP *, char *, char *) returns int] *: > ldap_simple_bind_s_1 = dlsym(hndl, "ldap_simple_bind_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_memfree) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:659:2: > Assignment of void * to [function (void *) returns int] *: > ldap_memfree_1 = dlsym(hndl, "ldap_memfree") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:665:20: > Unrecognized identifier: p > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:665:2: > Return value (type int) ignored: (*ldap_memfree_1)(p) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_first_attribute) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:681:26: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:683:2: > Assignment of void * to [function (LDAP *, LDAPMessage *, BerElement **) > returns char *] *: ldap_first_attribute_1 = dlsym(hndl, > "ldap_first_attribute") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:687: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:689:45: > Unrecognized identifier: entry > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:689:51: > Unrecognized identifier: ber > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_next_attribute) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:700:26: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:702:2: > Assignment of void * to [function (LDAP *, LDAPMessage *, BerElement *) > returns char *] *: ldap_next_attribute_1 = dlsym(hndl, "ldap_next_attribute" > ) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:706: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_get_values) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:720:26: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:722:2: > Assignment of void * to [function (LDAP *, LDAPMessage *, char *) returns > char **] *: ldap_get_values_1 = dlsym(hndl, "ldap_get_values") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:726: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:728:47: > Unrecognized identifier: target > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_get_values_len) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:739:26: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:741:2: > Assignment of void * to [function (LDAP *, LDAPMessage *, char *) returns > struct berval **] *: ldap_get_values_len_1 = dlsym(hndl, > "ldap_get_values_len") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:745: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_count_values) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:756:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:758:2: > Assignment of void * to [function (char **) returns int] *: > ldap_count_values_1 = dlsym(hndl, "ldap_count_values") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:764:37: > Unrecognized identifier: vals > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_count_values_len) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:775:2: > Assignment of void * to [function (struct berval **) returns int] *: > ldap_count_values_len_1 = dlsym(hndl, "ldap_count_values_len") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_value_free) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:792:2: > Assignment of void * to [function (char **) returns void] *: > ldap_value_free_1 = dlsym(hndl, "ldap_value_free") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_value_free_len) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:809:2: > Assignment of void * to [function (struct berval **) returns void] *: > ldap_value_free_len_1 = dlsym(hndl, "ldap_value_free_len") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_result) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:834:2: > Assignment of void * to [function (LDAP *, int, int, struct timeval *, > LDAPMessage **) returns int] *: ldap_result_1 = dlsym(hndl, "ldap_result") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:840:40: > Unrecognized identifier: all > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:840:44: > Unrecognized identifier: timeout > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:840:52: > Unrecognized identifier: result > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_msgtype) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:849:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:851:2: > Assignment of void * to [function (LDAPMessage *) returns int] *: > ldap_msgtype_1 = dlsym(hndl, "ldap_msgtype") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:857:32: > Unrecognized identifier: lm > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_msgid) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:866:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:868:2: > Assignment of void * to [function (LDAPMessage *) returns int] *: > ldap_msgid_1 = dlsym(hndl, "ldap_msgid") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_msgfree) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:881:13: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:883:2: > Assignment of void * to [function (LDAPMessage *) returns int] *: > ldap_msgfree_1 = dlsym(hndl, "ldap_msgfree") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_search_ext) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:917:2: > Assignment of void * to [function (LDAP *, char *, int, char *, char **, > int, LDAPControl **, LDAPControl **, struct timeval *, int, int *) returns > int] *: ldap_search_ext_1 = dlsym(hndl, "ldap_search_ext") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:924:38: > Unrecognized identifier: base > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:924:43: > Unrecognized identifier: scope > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:924:49: > Unrecognized identifier: filter > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:924:62: > Unrecognized identifier: attrsonly > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:925:35: > Unrecognized identifier: sizelimit > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_search_ext_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:947:2: > Assignment of void * to [function (LDAP *, char *, int, char *, char **, > int, LDAPControl **, LDAPControl **, struct timeval *, int, LDAPMessage **) > returns int] *: ldap_search_ext_s_1 = dlsym(hndl, "ldap_search_ext_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_search) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:970:2: > Assignment of void * to [function (LDAP *, char *, int, char *, char **, > int) returns int] *: ldap_search_1 = dlsym(hndl, "ldap_search") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_search_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:995:2: > Assignment of void * to [function (LDAP *, char *, int, char *, char **, > int, LDAPMessage **) returns int] *: ldap_search_s_1 = dlsym(hndl, > "ldap_search_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_search_st) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1020:9: > Assignment of void * to [function (LDAP *, char *, int, char *, char **, > int, struct timeval *, LDAPMessage **) returns int] *: > ldap_search_st_1 = dlsym(hndl, "ldap_search_st") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_parse_result) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1050:2: > Assignment of void * to [function (LDAP *, LDAPMessage *, int *, char **, > char **, char ***, LDAPControl ***, int) returns int] *: > ldap_parse_result_1 = dlsym(hndl, "ldap_parse_result") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1056:39: > Unrecognized identifier: errcodep > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1056:48: > Unrecognized identifier: matcheddnp > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1056:59: > Unrecognized identifier: errmsgp > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1057:3: > Unrecognized identifier: referralsp > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_err2string) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1064:27: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1066:2: > Assignment of void * to [function (int) returns char *] *: > ldap_err2string_1 = dlsym(hndl, "ldap_err2string") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1070: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_result2error) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1085:6: > Assignment of void * to [function (LDAP *, LDAPMessage *, int) returns int] > *: ldap_result2error_1 = dlsym(hndl, "ldap_result2error") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1088:35: > Unrecognized identifier: r > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_perror) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1101:6: > Assignment of void * to [function (LDAP *, char *) returns void] *: > ldap_perror_1 = dlsym(hndl, "ldap_perror") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1103:29: > Unrecognized identifier: s > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1103:9: > Return expression from function declared void: (*ldap_perror_1)(ld, s) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_modify_ext) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1123:2: > Assignment of void * to [function (LDAP *, char *, LDAPMod **, LDAPControl > **, LDAPControl **, int *) returns int] *: > ldap_modify_ext_1 = dlsym(hndl, "ldap_modify_ext") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1129:36: > Unrecognized identifier: mods > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_modify_ext_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1145:2: > Assignment of void * to [function (LDAP *, char *, LDAPMod **, LDAPControl > **, LDAPControl **) returns int] *: ldap_modify_ext_s_1 = dlsym(hndl, > "ldap_modify_ext_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_modify) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1165:7: > Assignment of void * to [function (LDAP *, char *, LDAPMod **) returns int] > *: ldap_modify_1 = dlsym(hndl, "ldap_modify") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_modify_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1181:7: > Assignment of void * to [function (LDAP *, char *, LDAPMod **) returns int] > *: ldap_modify_s_1 = dlsym(hndl, "ldap_modify_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_rename) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1206:2: > Assignment of void * to [function (LDAP *, char *, char *, char *, int, > LDAPControl **, LDAPControl **, int *) returns int] *: > ldap_rename_1 = dlsym(hndl, "ldap_rename") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1212:32: > Unrecognized identifier: newrdn > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1212:39: > Unrecognized identifier: newSuperior > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1212:51: > Unrecognized identifier: deleteoldrdn > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1212:64: > Unrecognized identifier: sctrls > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1212:71: > Unrecognized identifier: cctrls > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_rename_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1230:2: > Assignment of void * to [function (LDAP *, char *, char *, char *, int, > LDAPControl **, LDAPControl **) returns int] *: > ldap_rename_s_1 = dlsym(hndl, "ldap_rename_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_modrdn) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1249:6: > Assignment of void * to [function (LDAP *, char *, char *) returns int] *: > ldap_modrdn_1 = dlsym(hndl, "ldap_modrdn") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_modrdn_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1265:6: > Assignment of void * to [function (LDAP *, char *, char *) returns int] *: > ldap_modrdn_s_1 = dlsym(hndl, "ldap_modrdn_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_modrdn2) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1282:13: > Assignment of void * to [function (LDAP *, char *, char *, int) returns > int] *: ldap_modrdn2_1 = dlsym(hndl, "ldap_modrdn2") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_modrdn2_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1300:13: > Assignment of void * to [function (LDAP *, char *, char *, int) returns > int] *: ldap_modrdn2_s_1 = dlsym(hndl, "ldap_modrdn2_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_first_message) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1316:26: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1318:2: > Assignment of void * to [function (LDAP *, LDAPMessage *) returns > LDAPMessage *] *: ldap_first_message_1 = dlsym(hndl, "ldap_first_message") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1322: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1324:36: > Unrecognized identifier: chain > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_next_message) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1334:26: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1336:2: > Assignment of void * to [function (LDAP *, LDAPMessage *) returns > LDAPMessage *] *: ldap_next_message_1 = dlsym(hndl, "ldap_next_message") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1340: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1342:35: > Unrecognized identifier: msg > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_count_messages) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1352:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1354:2: > Assignment of void * to [function (LDAP *, LDAPMessage *) returns int] *: > ldap_count_messages_1 = dlsym(hndl, "ldap_count_messages") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_first_reference) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1374:26: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1376:2: > Assignment of void * to [function (LDAP *, LDAPMessage *) returns > LDAPMessage *] *: ldap_first_reference_1 = dlsym(hndl, "ldap_first_reference > ") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1380: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_next_reference) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1392:26: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1394:2: > Assignment of void * to [function (LDAP *, LDAPMessage *) returns > LDAPMessage *] *: ldap_next_reference_1 = dlsym(hndl, "ldap_next_reference") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1398: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1400:37: > Unrecognized identifier: ref > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_count_references) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1412:2: > Assignment of void * to [function (LDAP *, LDAPMessage *) returns int] *: > ldap_count_references_1 = dlsym(hndl, "ldap_count_reference") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_parse_reference) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1433:2: > Assignment of void * to [function (LDAP *, LDAPMessage *, char ***, > LDAPControl ***, int) returns int] *: > ldap_parse_reference_1 = dlsym(hndl, "ldap_parse_reference") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_first_entry) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1452:26: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1454:2: > Assignment of void * to [function (LDAP *, LDAPMessage *) returns > LDAPMessage *] *: ldap_first_entry_1 = dlsym(hndl, "ldap_first_entry") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1458: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_next_entry) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1470:26: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1472:2: > Assignment of void * to [function (LDAP *, LDAPMessage *) returns > LDAPMessage *] *: ldap_next_entry_1 = dlsym(hndl, "ldap_next_entry") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1476: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_count_entries) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1490:2: > Assignment of void * to [function (LDAP *, LDAPMessage *) returns int] *: > ldap_count_entries_1 = dlsym(hndl, "ldap_count_entries") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_get_entry_controls) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1509:2: > Assignment of void * to [function (LDAP *, LDAPMessage *, LDAPControl ***) > returns int] *: ldap_get_entry_controls_1 = dlsym(hndl, > "ldap_get_entry_controls") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_get_dn) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1529:26: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1531:2: > Assignment of void * to [function (LDAP *, LDAPMessage *) returns char *] > *: ldap_get_dn_1 = dlsym(hndl, "ldap_get_dn") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1535: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_dn2ufn) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1546:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1546:42: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1548:2: > Assignment of void * to [function (char *) returns char *] *: > ldap_dn2ufn_1 = dlsym(hndl, "ldap_dn2ufn") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1552: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_explode_dn) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1564:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1564:42: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1566:2: > Assignment of void * to [function (char *, int) returns char **] *: > ldap_explode_dn_1 = dlsym(hndl, "ldap_explode_dn") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1570: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1572:33: > Unrecognized identifier: notypes > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_explode_rdn) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1582:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1582:42: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1584:2: > Assignment of void * to [function (char *, int) returns char **] *: > ldap_explode_rdn_1 = dlsym(hndl, "ldap_explode_rdn") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1588: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1590:31: > Unrecognized identifier: rdn > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_unbind) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1607:2: > Assignment of void * to [function (LDAP *) returns int] *: > ldap_unbind_1 = dlsym(hndl, "ldap_unbind") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_unbind_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1628:9: > Assignment of void * to [function (LDAP *) returns int] *: > ldap_unbind_s_1 = dlsym(hndl, "ldap_unbind_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_unbind_ext) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1651:9: > Assignment of void * to [function (LDAP *, LDAPControl **, LDAPControl **) > returns int] *: ldap_unbind_ext_1 = dlsym(hndl, "ldap_unbind_ext") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_unbind_ext_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1674:9: > Assignment of void * to [function (LDAP *, LDAPControl **, LDAPControl **) > returns int] *: ldap_unbind_ext_s_1 = dlsym(hndl, "ldap_unbind_ext_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_compare_ext) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1701:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1703:7: > Assignment of void * to [function (LDAP *, char *, char *, struct berval *, > LDAPControl **, LDAPControl **, int *) returns int] *: > ldap_compare_ext_1 = dlsym(hndl, "ldap_compare_ext") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1706:37: > Unrecognized identifier: attr > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1706:42: > Unrecognized identifier: bvalue > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_compare_ext_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1721:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1723:7: > Assignment of void * to [function (LDAP *, char *, char *, struct berval *, > LDAPControl **, LDAPControl **) returns int] *: > ldap_compare_ext_s_1 = dlsym(hndl, "ldap_compare_ext_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_compare) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1738:7: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1740:7: > Assignment of void * to [function (LDAP *, char *, char *, char *) returns > int] *: ldap_compare_1 = dlsym(hndl, "ldap_compare") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1743:38: > Unrecognized identifier: value > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_compare_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1755:7: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1757:7: > Assignment of void * to [function (LDAP *, char *, char *, char *) returns > int] *: ldap_compare_s_1 = dlsym(hndl, "ldap_compare_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_is_ldap_url) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1775:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1777:2: > Assignment of void * to [function (char *) returns int] *: > ldap_is_ldap_url_1 = dlsym(hndl, "ldap_is_ldap_url") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1783:31: > Unrecognized identifier: url > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_is_ldaps_url) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1792:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1794:9: > Assignment of void * to [function (char *) returns int] *: > ldap_is_ldaps_url_1 = dlsym(hndl, "ldap_is_ldaps_url") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_url_parse) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1812:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1814:9: > Assignment of void * to [function (char *, LDAPURLDesc **) returns int] *: > ldap_url_parse_1 = dlsym(hndl, "ldap_url_parse") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1820:40: > Unrecognized identifier: ludpp > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_url_parse_ext) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1831:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1833:9: > Assignment of void * to [function (char *, LDAPURLDesc **) returns int] *: > ldap_url_parse_ext_1 = dlsym(hndl, "ldap_url_parse_ext") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1839:40: > Unrecognized identifier: url_in > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_url_desc2str) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1849:13: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1849:49: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1851:2: > Assignment of void * to [function (LDAPURLDesc *) returns char *] *: > ldap_url_desc2str_1 = dlsym(hndl, "ldap_url_desc2str") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1855:24: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1857:39: > Unrecognized identifier: ludp > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_free_urldesc) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1867:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1869:2: > Assignment of void * to [function (LDAPURLDesc *) returns void] *: > ldap_free_urldesc_1 = dlsym(hndl, "ldap_free_urldesc") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_url_search) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1888:2: > Assignment of void * to [function (LDAP *, char *, int) returns int] *: > ldap_url_search_1 = dlsym(hndl, "ldap_url_search") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_url_search_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1909:9: > Assignment of void * to [function (LDAP *, char *, int, LDAPMessage **) > returns int] *: ldap_url_search_s_1 = dlsym(hndl, "ldap_url_search_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_url_search_st) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:1931:9: > Assignment of void * to [function (LDAP *, char *, int, struct timeval *, > LDAPMessage **) returns int] *: ldap_url_search_st_1 = dlsym(hndl, > "ldap_url_search_st") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_bind_nmas_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2023:2: > Assignment of void * to [function (LDAP *, char *, char *, char *, char *) > returns int] *: ldap_bind_nmas_s_1 = dlsym(hndl, "ldap_bind_nmas_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_create_sort_keylist) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2044:2: > Assignment of void * to [function (LDAPSortKey ***, char *) returns int] *: > ldap_create_sort_keylist_1 = dlsym(hndl, "ldap_create_sort_keylist") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2050:39: > Unrecognized identifier: sortKeyList > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2050:51: > Unrecognized identifier: keyString > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_free_sort_keylist) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2061:9: > Assignment of void * to [function (LDAPSortKey **) returns void] *: > ldap_free_sort_keylist_1 = dlsym(hndl, "ldap_free_sort_keylist") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2067:37: > Unrecognized identifier: sortkeylist > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_create_sort_control) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2082:2: > Assignment of void * to [function (LDAP *, LDAPSortKey **, int, LDAPControl > **) returns int] *: ldap_create_sort_control_1 = dlsym(hndl, > "ldap_create_sort_control") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2088:42: > Unrecognized identifier: keyList > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2088:50: > Unrecognized identifier: ctl_iscritical > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2088:65: > Unrecognized identifier: ctrlp > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_parse_sort_control) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2102:2: > Assignment of void * to [function (LDAP *, LDAPControl **, unsigned long > int *, char **) returns int] *: ldap_parse_sort_control_1 = dlsym(hndl, > "ldap_parse_sort_control") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2108:54: > Unrecognized identifier: attribute > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_create_persistentsearch_control) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2128:2: > Assignment of void * to [function (LDAP *, int, int, int, char, LDAPControl > **) returns int] *: ldap_create_persistentsearch_control_1 = dlsym(hndl, > "ldap_create_persistentsearch_control") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2134:54: > Unrecognized identifier: changeTypes > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2134:66: > Unrecognized identifier: changesOnly > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2134:78: > Unrecognized identifier: returnEchgCtls > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2135:4: > Unrecognized identifier: isCritical > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_parse_entrychange_control) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2151:9: > Assignment of void * to [function (LDAP *, LDAPControl **, int *, char **, > int *, long int *) returns int] *: ldap_parse_entrychange_control_1 = > dlsym(hndl, "ldap_parse_entrychange_control") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2157:61: > Unrecognized identifier: changeType > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2157:72: > Unrecognized identifier: prevDN > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2157:79: > Unrecognized identifier: hasChangeNum > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2157:92: > Unrecognized identifier: changeNum > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_sort_entries) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2174:6: > Assignment of void * to [function (LDAP *, LDAPMessage **, char *, > [function (char *, char *) returns int] *) returns int] *: > ldap_sort_entries_1 = dlsym(hndl, "ldap_sort_entries") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2177:46: > Unrecognized identifier: cmp > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_sort_values) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2191:6: > Assignment of void * to [function (LDAP *, char **, [function (void *, void > *) returns int] *) returns int] *: ldap_sort_values_1 = dlsym(hndl, > "ldap_sort_values") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_sort_strcasecmp) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2206:2: > Assignment of void * to [function (void *, void *) returns int] *: > ldap_sort_strcasecmp_1 = dlsym(hndl, "ldap_sort_strcasecmp") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2210:33: > Unrecognized identifier: a > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2210:35: > Unrecognized identifier: b > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_delete_ext) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2223:13: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2225:2: > Assignment of void * to [function (LDAP *, char *, LDAPControl **, > LDAPControl **, int *) returns int] *: > ldap_delete_ext_1 = dlsym(hndl, "ldap_delete_ext") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_delete_ext_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2241:13: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2243:9: > Assignment of void * to [function (LDAP *, char *, LDAPControl **, > LDAPControl **) returns int] *: ldap_delete_ext_s_1 = dlsym(hndl, > "ldap_delete_ext_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_delete) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2258:13: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2260:9: > Assignment of void * to [function (LDAP *, char *) returns int] *: > ldap_delete_1 = dlsym(hndl, "ldap_delete") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c: (in function ldap_delete_s) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2274:13: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:2276:9: > Assignment of void * to [function (LDAP *, char *) returns int] *: > ldap_delete_s_1 = dlsym(hndl, "ldap_delete_s") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:40:13: > File static function _close_lib declared but not used > A function is declared but not used. Use /*@unused@*/ in front of function > header to suppress message. (Use -fcnuse to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:43:1: > Definition of _close_lib >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:45:13: > File static function _dummy declared but not used > A function is declared but not used. Use /*@unused@*/ in front of function > header to suppress message. (Use -fcnuse to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/ldapsdkwrap.c:50:1: > Definition of _dummy > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c ] >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c: (in function isValidTokenChar) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:59:10: > Operands of >= have incompatible types (char, int): c >= 0x00 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:59:25: > Operands of <= have incompatible types (char, int): c <= 0x20 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:60:7: > Operands of >= have incompatible types (char, int): c >= 0x3a > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:60:22: > Operands of <= have incompatible types (char, int): c <= 0x40 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:61:7: > Operands of >= have incompatible types (char, int): c >= 0x5b > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:61:22: > Operands of <= have incompatible types (char, int): c <= 0x5d > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:62:5: > Operands of == have incompatible types (int, char): 0x2c == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:63:5: > Operands of == have incompatible types (int, char): 0x25 == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:64:5: > Operands of == have incompatible types (int, char): 0x28 == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:65:5: > Operands of == have incompatible types (int, char): 0x29 == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:66:5: > Operands of == have incompatible types (int, char): 0x7b == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:67:5: > Operands of == have incompatible types (int, char): 0x7d == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:68:5: > Operands of == have incompatible types (int, char): 0X7f == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c: (in function isWhiteSpace) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:80:8: > Operands of == have incompatible types (int, char): 0x0d == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:81:5: > Operands of == have incompatible types (int, char): 0x0a == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:82:5: > Operands of == have incompatible types (int, char): 0x20 == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:83:5: > Operands of == have incompatible types (int, char): 0x09 == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c: (in function freeParsedDirectives) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:107:14: > Implicitly temp storage dirList passed as only param (curDir aliases > dirList): free (curDir) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c: (in function addDirective) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:130:30: > Function malloc expects arg 1 to be size_t gets int: nameSize > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:137:46: > Function memcpy expects arg 3 to be size_t gets int: nameSize - 1 > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:138:2: > Assignment of int to char: pd->name[nameSize - 1] = 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:143:6: > Implicitly only storage ps->currDirective->next (type struct > tagParsedDirective *) not released before assignment: > ps->currDirective->next = pd > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:145:2: > Implicitly only storage ps->currDirective (type ParsedDirective *) not > released before assignment: ps->currDirective = pd > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:145:2: > Kept storage pd assigned to implicitly only: ps->currDirective = pd > storage is transferred to a non-temporary reference after being passed as > keep parameter. The storage may be released or new aliases created. (Use > -kepttrans to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:143:6: > Storage pd becomes kept >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:147:14: > Function returns with null storage derivable from parameter > ps->currDirective->next > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:128:13: > Storage ps->currDirective->next becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:147:14: > Storage *(ps->currDirective) reachable from parameter contains 3 undefined > fields: flags, value, length > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c: (in function addValue) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:165:24: > Function malloc expects arg 1 to be size_t gets int: valueSize > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:165:5: > Implicitly only storage pd->value (type char *) not released before > assignment: pd->value = malloc(valueSize) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:167:19: > Function returns with possibly null storage derivable from parameter > ps->currDirective->value > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:165:17: > Storage ps->currDirective->value may become null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:167:19: > Storage *(ps->currDirective) reachable from parameter contains 1 undefined > field: value > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:172:48: > Function memcpy expects arg 3 to be size_t gets int: valueSize - 1 > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:172:10: > Possibly null storage pd->value passed as non-null param: > memcpy (pd->value, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:165:17: > Storage pd->value may become null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:182:10: > Index of possibly null pointer pd->value: pd->value > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:165:17: > Storage pd->value may become null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:187:2: > Index of possibly null pointer pd->value: pd->value > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:165:17: > Storage pd->value may become null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:187:2: > Assignment of int to char: pd->value[valueSize - 1] = 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:195:14: > Function returns with possibly null storage derivable from parameter > ps->currDirective->value > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:165:17: > Storage ps->currDirective->value may become null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c: (in function parseDirectiveList) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:223:20: > Function returns with null storage derivable from parameter > *parsedDirectives > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:217:25: > Storage *parsedDirectives becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:227:2: > Implicitly temp storage directiveList assigned to implicitly only: > ps->input = directiveList > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:232:2: > Assignment of int to char: prevChar = 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:234:9: > Operands of < have incompatible types (int, ber_slen_t): > ps->curPos < directiveListLength > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:241:11: > Test expression for if not boolean, type int: isWhiteSpace(currChar) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:245:13: > Test expression for if not boolean, type int: isValidTokenChar(currChar) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:258:11: > Test expression for if not boolean, type int: isValidTokenChar(currChar) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:262:13: > Test expression for if not boolean, type int: isWhiteSpace(currChar) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:264:18: > Null storage ps->directiveList derivable from parameter addDirective (ps) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:229:22: > Storage ps->directiveList becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:264:18: > Passed storage *ps contains 2 undefined fields: errorCode, currDirective > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:264:5: > Return value (type int) ignored: addDirective(ps) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:269:18: > Null storage ps->directiveList derivable from parameter addDirective (ps) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:229:22: > Storage ps->directiveList becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:269:18: > Passed storage *ps contains 2 undefined fields: errorCode, currDirective > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:269:5: > Return value (type int) ignored: addDirective(ps) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:280:11: > Test expression for if not boolean, type int: isWhiteSpace(currChar) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:296:11: > Test expression for if not boolean, type int: isWhiteSpace(currChar) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:305:13: > Test expression for if not boolean, type int: > isValidTokenChar(ps->input[ps->curPos]) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:318:11: > Test expression for if not boolean, type int: > isValidTokenChar(ps->input[ps->curPos]) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:322:13: > Test expression for if not boolean, type int: isWhiteSpace(currChar) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:324:14: > Null storage ps->directiveList derivable from parameter addValue (ps, ...) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:229:22: > Storage ps->directiveList becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:324:14: > Passed storage *ps contains 2 undefined fields: errorCode, currDirective > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:324:5: > Return value (type int) ignored: addValue(ps, 0) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:329:14: > Null storage ps->directiveList derivable from parameter addValue (ps, ...) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:229:22: > Storage ps->directiveList becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:329:14: > Passed storage *ps contains 2 undefined fields: errorCode, currDirective > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:329:5: > Return value (type int) ignored: addValue(ps, 0) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:345:14: > Null storage ps->directiveList derivable from parameter addValue (ps, ...) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:229:22: > Storage ps->directiveList becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:345:14: > Passed storage *ps contains 2 undefined fields: errorCode, currDirective > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:345:5: > Return value (type int) ignored: addValue(ps, hav... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:352:8: > Test expression for if not boolean, type int: isWhiteSpace(currChar) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:366:3: > Field ps->curPos 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:376:13: > Passed storage *ps contains 5 undefined fields: > scanStart, input, errorCode, directiveList, currDirective > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:376:4: > Return value (type int) ignored: addValue(ps, 0) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:401:24: > Field ps->directiveList 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:406:23: > Field ps->directiveList 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:406:3: > Only storage ps->directiveList assigned to unqualified: > *parsedDirectives = ps->directiveList > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:411:12: > Function returns with null storage derivable from parameter > *parsedDirectives > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:402:23: > Storage *parsedDirectives becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c: (in function parseTokenList) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:443:21: > Function returns with null storage derivable from parameter *token > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:434:13: > Storage *token becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:443:21: > Function returns with null storage derivable from parameter *parserState > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:442:19: > Storage *parserState becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:448:4: > Implicitly temp storage tokenList assigned to implicitly only: > ps->input = tokenList > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:453:3: > Variable tokenList is kept in false branch, but not kept in true branch. > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:453:3: > in false branch: > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:448:4: > Storage tokenList becomes kept >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:460:2: > Variable tokenList is kept in true branch, but not kept in false branch. > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:460:2: > in true branch: > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:453:3: > Storage tokenList becomes kept >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:462:11: > Arrow access from possibly null pointer ps: ps->curPos > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:439:11: > Storage ps may become null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:469:11: > Test expression for if not boolean, type int: isWhiteSpace(currChar) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:473:13: > Test expression for if not boolean, type int: isValidTokenChar(currChar) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:486:11: > Test expression for if not boolean, type int: isValidTokenChar(currChar) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:490:13: > Test expression for if not boolean, type int: isWhiteSpace(currChar) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:513:8: > Test expression for if not boolean, type int: isWhiteSpace(currChar) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c: (in function handleRealm) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:569:30: > Function malloc expects arg 1 to be size_t gets int: pd->length + 1 > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c: (in function handleNonce) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:596:30: > Function malloc expects arg 1 to be size_t gets int: pd->length + 1 > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:599:16: > Function returns with possibly null storage derivable from parameter > dc->nonce > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:596:16: > Storage dc->nonce may become null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:599:16: > Storage *dc reachable from parameter contains 1 undefined field: nonce > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:602:34: > Function memcpy expects arg 3 to be size_t gets int: pd->length > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:603:2: > Assignment of int to char: dc->nonce[pd->length] = 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c: (in function handleQop) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:630:59: > Passed storage &token not completely defined: > parseTokenList (..., &token, ...) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:630:67: > Passed storage &tokenLength not completely defined: > parseTokenList (..., &tokenLength, ...) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:634:38: > Function strncmp expects arg 3 to be size_t gets int: tokenLength > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:636:47: > Function strncmp expects arg 3 to be size_t gets int: tokenLength > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:638:46: > Function strncmp expects arg 3 to be size_t gets int: tokenLength > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c: (in function handleCharset) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:684:25: > Function malloc expects arg 1 to be size_t gets int: pd->length + 1 > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:686:16: > Function returns with possibly null storage derivable from parameter > dc->charSet > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:684:18: > Storage dc->charSet may become null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:686:16: > Storage *dc reachable from parameter contains 1 undefined field: charSet > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c: (in function handleAlgorithm) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:707:34: > Function malloc expects arg 1 to be size_t gets int: pd->length + 1 > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:709:16: > Function returns with possibly null storage derivable from parameter > dc->algorithm > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:707:20: > Storage dc->algorithm may become null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:709:16: > Storage *dc reachable from parameter contains 1 undefined field: algorithm > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c: (in function handleCipher) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:741:59: > Passed storage &token not completely defined: > parseTokenList (..., &token, ...) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:741:67: > Passed storage &tokenLength not completely defined: > parseTokenList (..., &tokenLength, ...) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:742:36: > Passed storage &errorPos not completely defined: > parseTokenList (..., &errorPos) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:745:38: > Function strncmp expects arg 3 to be size_t gets int: tokenLength > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:747:42: > Function strncmp expects arg 3 to be size_t gets int: tokenLength > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:749:43: > Function strncmp expects arg 3 to be size_t gets int: tokenLength > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:751:40: > Function strncmp expects arg 3 to be size_t gets int: tokenLength > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:753:43: > Function strncmp expects arg 3 to be size_t gets int: tokenLength > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c: (in function handleStale) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:780:43: > Function strncmp expects arg 3 to be size_t gets int: pd->length > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c: (in function freeDigestChallenge) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:801:8: > Only storage curRealm->value (type char *) derived from released storage is > not released (memory leak): curRealm > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:814:7: > Implicitly temp storage dc passed as only param: free (dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c: (in function getDigestChallenge) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:834:26: > Function parseDirectiveList expects arg 2 to be ber_slen_t gets ber_len_t: > challengeData->bv_len > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:835:42: > Passed storage &errorPos not completely defined: > parseDirectiveList (..., &errorPos) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:872:35: > Null storage dc->realms derivable from parameter handleRealm (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:857:15: > Storage dc->realms becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:872:35: > Null storage dc->nonce derivable from parameter handleRealm (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:859:14: > Storage dc->nonce becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:872:35: > Null storage dc->charSet derivable from parameter handleRealm (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:863:16: > Storage dc->charSet becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:872:35: > Null storage dc->algorithm derivable from parameter handleRealm (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:864:18: > Storage dc->algorithm becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:877:35: > Null storage dc->realms derivable from parameter handleNonce (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:857:15: > Storage dc->realms becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:877:35: > Null storage dc->nonce derivable from parameter handleNonce (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:859:14: > Storage dc->nonce becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:877:35: > Null storage dc->charSet derivable from parameter handleNonce (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:863:16: > Storage dc->charSet becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:877:35: > Null storage dc->algorithm derivable from parameter handleNonce (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:864:18: > Storage dc->algorithm becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:882:33: > Null storage dc->realms derivable from parameter handleQop (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:857:15: > Storage dc->realms becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:882:33: > Null storage dc->nonce derivable from parameter handleQop (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:859:14: > Storage dc->nonce becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:882:33: > Null storage dc->charSet derivable from parameter handleQop (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:863:16: > Storage dc->charSet becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:882:33: > Null storage dc->algorithm derivable from parameter handleQop (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:864:18: > Storage dc->algorithm becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:887:36: > Null storage dc->realms derivable from parameter handleMaxbuf (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:857:15: > Storage dc->realms becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:887:36: > Null storage dc->nonce derivable from parameter handleMaxbuf (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:859:14: > Storage dc->nonce becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:887:36: > Null storage dc->charSet derivable from parameter handleMaxbuf (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:863:16: > Storage dc->charSet becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:887:36: > Null storage dc->algorithm derivable from parameter handleMaxbuf (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:864:18: > Storage dc->algorithm becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:892:37: > Null storage dc->realms derivable from parameter handleCharset (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:857:15: > Storage dc->realms becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:892:37: > Null storage dc->nonce derivable from parameter handleCharset (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:859:14: > Storage dc->nonce becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:892:37: > Null storage dc->charSet derivable from parameter handleCharset (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:863:16: > Storage dc->charSet becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:892:37: > Null storage dc->algorithm derivable from parameter handleCharset (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:864:18: > Storage dc->algorithm becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:897:39: > Null storage dc->realms derivable from parameter handleAlgorithm (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:857:15: > Storage dc->realms becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:897:39: > Null storage dc->nonce derivable from parameter handleAlgorithm (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:859:14: > Storage dc->nonce becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:897:39: > Null storage dc->charSet derivable from parameter handleAlgorithm (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:863:16: > Storage dc->charSet becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:897:39: > Null storage dc->algorithm derivable from parameter handleAlgorithm (..., > dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:864:18: > Storage dc->algorithm becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:902:36: > Null storage dc->realms derivable from parameter handleCipher (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:857:15: > Storage dc->realms becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:902:36: > Null storage dc->nonce derivable from parameter handleCipher (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:859:14: > Storage dc->nonce becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:902:36: > Null storage dc->charSet derivable from parameter handleCipher (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:863:16: > Storage dc->charSet becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:902:36: > Null storage dc->algorithm derivable from parameter handleCipher (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:864:18: > Storage dc->algorithm becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:907:35: > Null storage dc->realms derivable from parameter handleStale (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:857:15: > Storage dc->realms becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:907:35: > Null storage dc->nonce derivable from parameter handleStale (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:859:14: > Storage dc->nonce becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:907:35: > Null storage dc->charSet derivable from parameter handleStale (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:863:16: > Storage dc->charSet becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:907:35: > Null storage dc->algorithm derivable from parameter handleStale (..., dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:864:18: > Storage dc->algorithm becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:939:30: > Null storage dc->realms derivable from parameter freeDigestChallenge (dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:857:15: > Storage dc->realms becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:939:30: > Possibly null storage dc->nonce derivable from parameter > freeDigestChallenge (dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:859:14: > Storage dc->nonce may become null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:939:30: > Null storage dc->charSet derivable from parameter freeDigestChallenge (dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:863:16: > Storage dc->charSet becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:939:30: > Possibly null storage dc->algorithm derivable from parameter > freeDigestChallenge (dc) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:864:18: > Storage dc->algorithm may become null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:942:3: > Variable dc is dependent in false branch, but independent in true branch. > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:942:3: > in false branch: > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:942:3: > Storage dc becomes dependent > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:942:3: > in true branch: > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:850:5: > Fresh storage dc created >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:944:12: > Function returns with possibly null storage derivable from parameter > *digestChallenge > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:848:24: > Storage *digestChallenge may become null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c: (in function getResponseAuth) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:963:26: > Function parseDirectiveList expects arg 2 to be ber_slen_t gets ber_len_t: > responseAuthDirective->bv_len > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:964:42: > Passed storage &errorPos not completely defined: > parseDirectiveList (..., &errorPos) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:989:36: > Function malloc expects arg 1 to be size_t gets int: pd->length + 1 > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:995:40: > Function memcpy expects arg 3 to be size_t gets int: pd->length > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:996:4: > Assignment of int to char: (*responseAuth)[pd->length] = 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:979:9: > Suspected infinite loop. No value used in loop test (pd) is modified by > test or loop body. > This appears to be an infinite loop. Nothing in the body of the loop or the > loop test modifies the value of the loop test. Perhaps the specification of a > function called in the loop body is missing a modification. (Use -infloops to > inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:1015:12: > Released storage *responseAuth 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:1012:15: > Storage *responseAuth released >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.h:153:6: > Function exported but not used outside md5parse: freeDigestChallenge > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:815:1: > Definition of freeDigestChallenge >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:56:5: > Function exported but not used outside md5parse: isValidTokenChar > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:72:1: > Definition of isValidTokenChar >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:77:5: > Function exported but not used outside md5parse: isWhiteSpace > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:87:1: > Definition of isWhiteSpace >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:92:6: > Function exported but not used outside md5parse: freeParsedDirectives > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:111:1: > Definition of freeParsedDirectives >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:117:5: > Function exported but not used outside md5parse: addDirective > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:148:1: > Definition of addDirective >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:154:5: > Function exported but not used outside md5parse: addValue > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:196:1: > Definition of addValue >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:205:5: > Function exported but not used outside md5parse: parseDirectiveList > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:412:1: > Definition of parseDirectiveList >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:421:5: > Function exported but not used outside md5parse: parseTokenList > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:555:1: > Definition of parseTokenList >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:559:5: > Function exported but not used outside md5parse: handleRealm > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:583:1: > Definition of handleRealm >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:589:5: > Function exported but not used outside md5parse: handleNonce > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:606:1: > Definition of handleNonce >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:615:5: > Function exported but not used outside md5parse: handleQop > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:652:1: > Definition of handleQop >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:658:5: > Function exported but not used outside md5parse: handleMaxbuf > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:671:1: > Definition of handleMaxbuf >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:677:5: > Function exported but not used outside md5parse: handleCharset > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:694:1: > Definition of handleCharset >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:700:5: > Function exported but not used outside md5parse: handleAlgorithm > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:717:1: > Definition of handleAlgorithm >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:726:5: > Function exported but not used outside md5parse: handleCipher > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:767:1: > Definition of handleCipher >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:772:5: > Function exported but not used outside md5parse: handleStale > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/md5parse.c:786:1: > Definition of handleStale > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c ] >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c: (in function _init_lib) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:19:5: > Test expression for if not boolean, type int: INITFLAG > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:19:22: > Unqualified static storage hndl returned as implicitly only: hndl > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:19:27: > Function returns with global hndl referencing released storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:19:22: > Storage hndl released >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:22: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:29:19: > Arrow access from possibly null pointer ent: ent->d_name > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:24:16: > Storage ent may become null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:29:2: > Only storage assigned to unqualified static: > hndl = dlopen(ent->d_name, 0x00001) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:31:9: > Unqualified static storage hndl returned as implicitly only: hndl > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:31:14: > Fresh storage dir 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:21:6: > Fresh storage dir created >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:31:14: > Function returns with global hndl referencing released storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:31:9: > Storage hndl released >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c: (in function _close_lib) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:37:4: > Return value (type int) ignored: dlclose(handle) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:40:2: > Function returns with non-null global hndl referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:38:10: > Storage hndl becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c: (in function ber_alloc) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:47:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:47:42: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:49:7: > Assignment of void * to [function (void) returns BerElement *] *: > ber_alloc_1 = dlsym(hndl, "ber_alloc") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:50: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c: (in function der_alloc) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:60:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:60:42: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:62:7: > Assignment of void * to [function (void) returns BerElement *] *: > der_alloc_1 = dlsym(hndl, "der_alloc") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:63: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c: (in function ber_alloc_t) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:73:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:73:42: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:75:2: > Assignment of void * to [function (int) returns BerElement *] *: > ber_alloc_t_1 = dlsym(hndl, "ber_alloc_t") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:79: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c: (in function ber_bvdup) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:90:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:90:42: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:92:2: > Assignment of void * to [function (struct berval *) returns struct berval > *] *: ber_bvdup_1 = dlsym(hndl, "ber_bvdup") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:96: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c: (in function ber_bvecfree) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:107:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:109:2: > Assignment of void * to [function (struct berval **) returns void] *: > ber_bvecfree_1 = dlsym(hndl, "ber_bvecfree") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c: (in function ber_bvfree) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:123:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:125:2: > Assignment of void * to [function (struct berval *) returns void] *: > ber_bvfree_1 = dlsym(hndl, "ber_bvfree") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c: (in function ber_first_element) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:141:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:143:2: > Assignment of void * to [function (BerElement *, ber_len_t *, char **) > returns ber_tag_t] *: ber_first_element_1 = dlsym(hndl, > "ber_first_element") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c: (in function ber_flatten) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:160:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:162:2: > Assignment of void * to [function (BerElement *, struct berval **) returns > int] *: ber_flatten_1 = dlsym(hndl, "ber_flatten") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c: (in function ber_free) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:178:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:183:2: > Assignment of void * to [function (BerElement *, int) returns void] *: > ber_free_1 = dlsym(hndl, "ber_free") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c: (in function ber_init) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:196:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:197: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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:199:2: > Assignment of void * to [function (struct berval *) returns BerElement *] > *: ber_init_1 = dlsym(hndl, "ber_init") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:201:32: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c: (in function ber_next_element) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:214:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:216:2: > Assignment of void * to [function (BerElement *, ber_len_t *, char *) > returns ber_tag_t] *: ber_next_element_1 = dlsym(hndl, "ber_next_element") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c: (in function ber_peek_tag) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:229:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:231:2: > Assignment of void * to [function (BerElement *, ber_len_t *) returns > ber_tag_t] *: ber_peek_tag_1 = dlsym(hndl, "ber_peek_tag") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c: (in function ber_get_option) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:251:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:253:6: > Assignment of void * to [function (void *, int, void *) returns int] *: > ber_get_option_1 = dlsym(hndl, "ber_get_option") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:256:29: > Unrecognized identifier: item > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:256:34: > Unrecognized identifier: option > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:256:41: > Unrecognized identifier: outvalue > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c: (in function ber_set_option) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:268:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:270:6: > Assignment of void * to [function (void *, int, void *) returns int] *: > ber_set_option_1 = dlsym(hndl, "ber_set_option") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:273:41: > Unrecognized identifier: invalue > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c: (in function ber_skip_tag) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:316:6: > Only storage assigned to unqualified static: hndl = _init_lib() > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:318:9: > Assignment of void * to [function (BerElement *, ber_len_t *) returns > ber_tag_t] *: ber_skip_tag_1 = dlsym(hndl, "ber_skip_tag") > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:34:13: > File static function _close_lib declared but not used > A function is declared but not used. Use /*@unused@*/ in front of function > header to suppress message. (Use -fcnuse to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/lberwrap.c:40:1: > Definition of _close_lib > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c ] >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:692:70: > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:109:7: > Function parameter hexNonce 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c: (in function getNonce) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:116:18: > Passed storage nonce not completely defined (*nonce is undefined): > RAND_bytes (nonce, ...) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:122:4: > Assignment of unsigned char to char: nonceByte = nonce[i] > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:123:31: > Function getHexChar expects arg 1 to be int gets unsigned char: > nonce[i] & 0x0F > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:124:35: > Function getHexChar expects arg 1 to be int gets unsigned char: > (nonce[i] & 0xF0) >> 4 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:128:5: > Assignment of int to char: hexNonce[(2 * 32)] = 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:139:12: > Function parameter Bin 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:140:15: > Function parameter Hex 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c: (in function ConvertHex) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:148:13: > Operands of <= have incompatible types (unsigned char, int): j <= 9 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:149:25: > Incompatible types for + (unsigned char, char): j + '0' > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:151:25: > Incompatible types for + (unsigned char, char): j + 'a' > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:153:13: > Operands of <= have incompatible types (unsigned char, int): j <= 9 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:154:27: > Incompatible types for + (unsigned char, char): j + '0' > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:156:27: > Incompatible types for + (unsigned char, char): j + 'a' > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:174:15: > Function parameter SessionKey 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c: (in function DigestCalcHA1) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:180:16: > Passed storage Md5Ctx contains 8 undefined fields: A, B, C, D, ... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:180:7: > Return value (type int) ignored: MD5_Init(&Md5Ctx) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:181:56: > Function MD5_Update expects arg 3 to be unsigned long int gets size_t: > strlen(pszUserName) > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:181:7: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:182:7: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:183:53: > Function MD5_Update expects arg 3 to be unsigned long int gets size_t: > strlen(pszRealm) > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:183:7: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:184:7: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:185:56: > Function MD5_Update expects arg 3 to be unsigned long int gets int: > passwordLen > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:185:7: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:186:17: > Passed storage HA1 not completely defined (*HA1 is undefined): > MD5_Final (HA1, ...) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:186:7: > Return value (type int) ignored: MD5_Final(HA1, &... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:189:13: > Return value (type int) ignored: MD5_Init(&Md5Ctx) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:190:13: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:191:13: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:192:59: > Function MD5_Update expects arg 3 to be unsigned long int gets size_t: > strlen(pszNonce) > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:192:13: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:193:13: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:194:60: > Function MD5_Update expects arg 3 to be unsigned long int gets size_t: > strlen(pszCNonce) > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:194:13: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:195:13: > Return value (type int) ignored: MD5_Final(HA1, &... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:208:15: > Function parameter HA1 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:216:15: > Function parameter Response 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c: (in function DigestCalcResponse) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:224:14: > Passed storage Md5Ctx contains 8 undefined fields: A, B, C, D, ... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:224:5: > Return value (type int) ignored: MD5_Init(&Md5Ctx) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:226:55: > Function MD5_Update expects arg 3 to be unsigned long int gets size_t: > strlen(pszMethod) > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:226:8: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:227:5: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:228:55: > Function MD5_Update expects arg 3 to be unsigned long int gets size_t: > strlen(pszDigestUri) > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:228:5: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:230:11: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:231:11: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:234:15: > Passed storage HA2 not completely defined (*HA2 is undefined): > MD5_Final (HA2, ...) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:234:5: > Return value (type int) ignored: MD5_Final(HA2, &... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:235:21: > Passed storage HA2Hex not completely defined (*HA2Hex is undefined): > ConvertHex (..., HA2Hex) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:238:5: > Return value (type int) ignored: MD5_Init(&Md5Ctx) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:239:5: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:240:5: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:241:51: > Function MD5_Update expects arg 3 to be unsigned long int gets size_t: > strlen(pszNonce) > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:241:5: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:242:5: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:243:9: > Test expression for if not boolean, type char: *pszQop > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:244:60: > Function MD5_Update expects arg 3 to be unsigned long int gets size_t: > strlen(pszNonceCount) > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:244:9: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:245:9: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:246:56: > Function MD5_Update expects arg 3 to be unsigned long int gets size_t: > strlen(pszCNonce) > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:246:9: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:247:9: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:248:53: > Function MD5_Update expects arg 3 to be unsigned long int gets size_t: > strlen(pszQop) > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:248:9: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:249:9: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:251:5: > Return value (type int) ignored: MD5_Update(&Md5C... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:252:15: > Passed storage RespHash not completely defined (*RespHash is undefined): > MD5_Final (RespHash, ...) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:252:5: > Return value (type int) ignored: MD5_Final(RespHa... > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c: (in function validateServerResponse) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:304:2: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:304:34: > Format argument 1 to sprintf (%08.8x) expects unsigned int gets int: > cnonceCount > To ignore signs in type comparisons use +ignoresigns > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:304:30: > Corresponding format code >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:307:14: > Passed storage HA1 not completely defined (*HA1 is undefined): > DigestCalcHA1 (..., HA1) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:311:27: > Passed storage response not completely defined (*response is undefined): > DigestCalcResponse (..., response) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:315:29: > Null storage responseAuth passed as non-null param: > strcmp (..., responseAuth) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:279:29: > Storage responseAuth becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c: (in function createDigestResponse) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:355:3: > Implicitly only storage bvResponse->bv_val (type char *) not released > before assignment: bvResponse->bv_val = NULL > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:357:16: > Function returns with null storage derivable from parameter > bvResponse->bv_val > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:355:24: > Storage bvResponse->bv_val becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:366:16: > Fresh storage digestResp 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:351:2: > Fresh storage digestResp created >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:366:16: > Function returns with null storage derivable from parameter > bvResponse->bv_val > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:364:24: > Storage bvResponse->bv_val becomes null >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:379:2: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:379:34: > Format argument 1 to sprintf (%08.8x) expects unsigned int gets int: > cnonceCount > To ignore signs in type comparisons use +ignoresigns > novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:379:30: > Corresponding format code >novell-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:382:14: > Passed storage HA1 not completely defined (*HA1 is undefined): > DigestCalcHA1 (..., HA1) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:386:27: > Passed storage response not completely defined (*response is undefined): > DigestCalcResponse (..., response) > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:409:2: > Implicitly only storage bvResponse->bv_val (type char *) not released > before assignment: bvResponse->bv_val = digestResp > 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-NLDAPsdk-8.8/nlibraries/libraries/libldap/digestmd5.c:410:2: > Assignment of size_t to ber_len_t: bvResponse->bv_len = strlen(digestResp) > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/debug.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_cert.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/prng.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c ] >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c: (in function ldapssl_client_init) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:70:21: > Unrecognized identifier: LDAPSSL_SUCCESS > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:103:4: > Unrecognized identifier: EnterSync > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:104:13: > Unrecognized identifier: GET_SSL_REGISTERED > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:105:4: > Unrecognized identifier: ExitSync > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:109:9: > Operand of ! is non-boolean (int): !sslReg > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:124:7: > Unrecognized identifier: DBG_OPENSSL_ERROR > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:130:10: > Unrecognized identifier: SET_SSL_REGISTERED > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:130:10: > Statement has no effect: SET_SSL_REGISTERED > Statement has no visible effect --- no values are modified. (Use -noeffect to > inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:138:17: > Unrecognized identifier: LDAPSSL_ERROR > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:152:7: > Return value (type int) ignored: RAND_poll() > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:190:26: > New fresh storage (type SSL_METHOD *) passed as implicitly temp (not > released): SSLv23_method() > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:197:47: > Null storage passed as non-null param: SSL_CTX_ctrl (..., NULL) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:197:7: > Return value (type long int) ignored: SSL_CTX_ctrl((ne... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalother to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:202:40: > Null storage passed as non-null param: SSL_CTX_set_verify (..., NULL) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:215:41: > New fresh storage (type X509_LOOKUP_METHOD *) passed as implicitly temp > (not released): X509_LOOKUP_file() > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:268:21: > Unrecognized identifier: GetMasterCryptCtx > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:270:7: > Unrecognized identifier: SetMasterCryptCtx > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:284:15: > Fresh storage newCtx 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:190:4: > Fresh storage newCtx created >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:284:15: > Fresh storage lookup 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:214:10: > Fresh storage lookup created >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:67:16: > Parameter reserved 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c: (in function ldapssl_init) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:326:13: > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:343:8: > Test expression for if not boolean, type int: defsecure > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:348:13: > Unrecognized identifier: ldapssl_install_routines > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:365:7: > Return value (type int) ignored: ldap_unbind(ld) > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:366:7: > Fresh storage ld (type LDAP *) not released before assignment: ld = NULL > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:329:4: > Fresh storage ld created >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:372:10: > Possibly null storage ld returned as non-null: (ld) > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:366:12: > Storage ld may become null >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c: (in function ldapssl_client_deinit) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:465:4: > Unrecognized identifier: SetCertCallback > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:466:4: > Unrecognized identifier: SET_SSL_UNREGISTERED > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_init.c:466:4: > Statement has no effect: SET_SSL_UNREGISTERED > Statement has no visible effect --- no values are modified. (Use -noeffect to > inhibit warning) > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c ] >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:261:25: > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c: (in function ldapssl_start_tls) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:120:11: > Arrow access field of non-struct or union pointer (LDAP *): ld->ld_sb > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:125:15: > Arrow access field of non-struct or union pointer (LDAP *): ld->ld_sb > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:125:32: > Unrecognized identifier: GetMaxSockets > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:134:15: > Unrecognized identifier: ldapssl_Get_Handle > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:134:37: > Arrow access field of non-struct or union pointer (LDAP *): ld->ld_sb > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:157:11: > Unrecognized identifier: GetMasterCryptCtx > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:163:36: > Null storage passed as non-null param: SSL_CTX_ctrl (..., NULL) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:165:34: > Null storage passed as non-null param: SSL_CTX_ctrl (..., NULL) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:165:4: > Return value (type long int) ignored: SSL_CTX_ctrl((hC... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalother to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:172:13: > Unrecognized identifier: iof_prepare > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:172:28: > Arrow access field of non-struct or union pointer (LDAP *): ld->ld_sb > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:180:33: > Arrow access field of non-struct or union pointer (LDAP *): ld->ld_sb > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c: (in function ldapssl_stop_tls) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:271:11: > Arrow access field of non-struct or union pointer (LDAP *): ld->ld_sb > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:271:49: > Arrow access field of non-struct or union pointer (LDAP *): ld->ld_sb > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:281:32: > Arrow access field of non-struct or union pointer (LDAP *): ld->ld_sb > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:310:4: > Unrecognized identifier: ldapssl_Set_Handle > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:310:25: > Arrow access field of non-struct or union pointer (LDAP *): ld->ld_sb > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c: (in function outstanding_requests) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:332:4: > Unrecognized identifier: LDAPRequest > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/st_tls.c:332:17: > Unrecognized identifier: lr > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/ssl_io.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/globals.c ] >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/globals.c:55:5: > Unrecognized identifier: iof_socket > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/globals.c:56:5: > Unrecognized identifier: iof_prepare > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/globals.c:57:5: > Unrecognized identifier: iof_connect > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/globals.c:58:5: > Unrecognized identifier: iof_read > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/globals.c:59:5: > Unrecognized identifier: iof_write > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/globals.c:60:5: > Unrecognized identifier: iof_select > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/globals.c:61:5: > Unrecognized identifier: iof_ioctl > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/globals.c:62:5: > Unrecognized identifier: iof_close > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/globals.c:54:1: > Initializer block used for g_SSL_fns where struct ldap_io_funcs is > expected: { iof_socket, iof_prepare, iof_connect, iof_read, iof_write, > iof_select, iof_ioctl, iof_close } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/globals.c:71:5: > Unrecognized identifier: iof_no_prepare > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/globals.c:69:1: > Initializer block used for g_SSL_fns_no_prepare where struct ldap_io_funcs > is expected: { iof_socket, iof_no_prepare, iof_connect, iof_read, > iof_write, iof_select, iof_ioctl, iof_close } > Types are incompatible. (Use -type to inhibit warning) > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c ] >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c: (in function dump_certs_keys_buf) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:75:37: > Null storage passed as non-null param: d2i_PKCS12_bio (..., NULL) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:79:10: > Operand of ! is non-boolean (int): !dump_certs_keys_p12(out, p12, pass) > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:87:16: > Fresh storage p12 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:75:11: > Fresh storage p12 created >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c: (in function dump_certs_keys_p12) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:113:23: > Fresh storage p7 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:106:3: > Fresh storage p7 created >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:113:23: > Fresh storage asafes 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:104:9: > Fresh storage asafes created >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:114:12: > Operand of ! is non-boolean (int): !dump_certs_pkeys_bags(out, bags, pass) > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:116:13: > Fresh storage bags 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:111:4: > Fresh storage bags created >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:116:13: > Fresh storage p7 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:106:3: > Fresh storage p7 created >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:116:13: > Fresh storage asafes 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:104:9: > Fresh storage asafes created >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:121:11: > Fresh storage asafes 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:104:9: > Fresh storage asafes created >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:121:11: > Fresh storage bags 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:111:4: > Fresh storage bags created >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:121:11: > Fresh storage p7 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:106:3: > Fresh storage p7 created >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c: (in function dump_certs_pkeys_bags) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:137:34: > New fresh storage (type PKCS12_SAFEBAG *) passed as implicitly temp (not > released): ((PKCS12_SAFEBAG *)sk_value((bags), (i))) > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:137:8: > Operand of ! is non-boolean (int): !dump_certs_pkeys_bag(out, > ((PKCS12_SAFEBAG *)sk_value((bags), (i))), pass) > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c: (in function dump_certs_pkeys_bag) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:158:3: > Return value (type int) ignored: print_attribs(ou... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:161:3: > Return value (type int) ignored: print_attribs(ou... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:162:40: > Null storage passed as non-null param: > PEM_write_bio_PrivateKey (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:162:46: > Null storage passed as non-null param: > PEM_write_bio_PrivateKey (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:162:55: > Null storage passed as non-null param: > PEM_write_bio_PrivateKey (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:162:61: > Null storage passed as non-null param: PEM_write_bio_PrivateKey (..., NULL) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:162:3: > Return value (type int) ignored: PEM_write_bio_Pr... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:167:3: > Return value (type int) ignored: print_attribs(ou... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:170:47: > Fresh storage p8 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:168:9: > Fresh storage p8 created >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:171:3: > Return value (type int) ignored: print_attribs(ou... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:173:40: > Null storage passed as non-null param: > PEM_write_bio_PrivateKey (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:173:46: > Null storage passed as non-null param: > PEM_write_bio_PrivateKey (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:173:55: > Null storage passed as non-null param: > PEM_write_bio_PrivateKey (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:173:61: > Null storage passed as non-null param: PEM_write_bio_PrivateKey (..., NULL) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:173:3: > Return value (type int) ignored: PEM_write_bio_Pr... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:178:3: > Return value (type int) ignored: print_attribs(ou... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:182:3: > Return value (type int) ignored: dump_cert_text(o... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:183:3: > Return value (type int) ignored: PEM_write_bio_X5... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:188:3: > Return value (type int) ignored: print_attribs(ou... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:193:2: > Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:195:11: > Fresh storage pkey 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:170:9: > Fresh storage pkey created >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:195:11: > Fresh storage x509 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:181:9: > Fresh storage x509 created >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c: (in function print_attribs) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:213:3: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:216:6: > Operand of ! is non-boolean (int): !sk_num((attrlst)) > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:217:3: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:220:2: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:224:3: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:226:4: > Return value (type int) ignored: i2a_ASN1_OBJECT(... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:227:4: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:228:10: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:230:6: > Test expression for if not boolean, type int: sk_num((attr->value.set)) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:236:5: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:243:5: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:249:5: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:253:6: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:256:10: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:258:11: > Fresh storage attr 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:222:3: > Fresh storage attr created >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:258:11: > Fresh storage av 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:231:4: > Fresh storage av created >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:258:11: > Fresh storage value 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:234:12: > Fresh storage value created >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c: (in function dump_cert_text) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:270:20: > New fresh storage (type X509_NAME *) passed as implicitly temp (not > released): X509_get_subject_name(x) > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:270:45: > Passed storage buf not completely defined (*buf is undefined): > X509_NAME_oneline (..., buf, ...) > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:270:2: > Return value (type char *) ignored: X509_NAME_onelin... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalother to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:271:2: > Return value (type int) ignored: BIO_puts(out, "s... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:272:2: > Return value (type int) ignored: BIO_puts(out, buf) > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:274:20: > New fresh storage (type X509_NAME *) passed as implicitly temp (not > released): X509_get_issuer_name(x) > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:274:2: > Return value (type char *) ignored: X509_NAME_onelin... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalother to inhibit warning) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:275:2: > Return value (type int) ignored: BIO_puts(out, "\... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:276:2: > Return value (type int) ignored: BIO_puts(out, buf) > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:277:2: > Return value (type int) ignored: BIO_puts(out, "\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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c: (in function hex_prin) >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:290:28: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:27:5: > Function exported but not used outside pkcs12x: dump_certs_keys_p12 > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:122:1: > Definition of dump_certs_keys_p12 >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:33:5: > Function exported but not used outside pkcs12x: dump_certs_pkeys_bags > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:141:1: > Definition of dump_certs_pkeys_bags >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:38:5: > Function exported but not used outside pkcs12x: dump_certs_pkeys_bag > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:196:1: > Definition of dump_certs_pkeys_bag >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:44:5: > Function exported but not used outside pkcs12x: print_attribs > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:259:1: > Definition of print_attribs >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:50:5: > Function exported but not used outside pkcs12x: dump_cert_text > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:279:1: > Definition of dump_cert_text >novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:55:6: > Function exported but not used outside pkcs12x: hex_prin > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nlibraries/nldapx/ldapssl/src/ldapssl/pkcs12x.c:291:1: > Definition of hex_prin > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_cert.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/suse/novell/ssl/src/prng.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c ] >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c: (in function ldapssl_client_init) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:72:21: > Unrecognized identifier: LDAPSSL_SUCCESS > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:82:4: > Unrecognized identifier: DBG_FUNC > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:83:4: > Unrecognized identifier: DBG_PARM > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:84:4: > Unrecognized identifier: DBG_LINE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:100:4: > Unrecognized identifier: EnterSync > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:101:13: > Unrecognized identifier: GET_SSL_REGISTERED > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:102:4: > Unrecognized identifier: ExitSync > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:106:9: > Operand of ! is non-boolean (int): !sslReg > 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-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:118:7: > Unrecognized identifier: DBG_OPENSSL_ERROR > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:124:10: > Unrecognized identifier: SET_SSL_REGISTERED > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:124:10: > Statement has no effect: SET_SSL_REGISTERED > Statement has no visible effect --- no values are modified. (Use -noeffect to > inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:129:10: > Unrecognized identifier: DBG_RETURN > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:129:21: > Unrecognized identifier: LDAPSSL_ERROR > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:143:7: > Return value (type int) ignored: RAND_poll() > 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-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:181:26: > New fresh storage (type SSL_METHOD *) passed as implicitly temp (not > released): SSLv23_method() > 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-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:188:47: > Null storage passed as non-null param: SSL_CTX_ctrl (..., NULL) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:188:7: > Return value (type long int) ignored: SSL_CTX_ctrl((ne... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalother to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:193:40: > Null storage passed as non-null param: SSL_CTX_set_verify (..., NULL) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:206:41: > New fresh storage (type X509_LOOKUP_METHOD *) passed as implicitly temp > (not released): X509_LOOKUP_file() > 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-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:255:21: > Unrecognized identifier: GetMasterCryptCtx > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:257:7: > Unrecognized identifier: SetMasterCryptCtx > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:267:4: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:269:2: > Path with no return in function declared to return int > There is a path through a function declared to return a value on which there > is no return statement. This means the execution may fall through without > returning a meaningful result to the caller. (Use -noret to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:269:2: > Fresh storage newCtx 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-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:181:4: > Fresh storage newCtx created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:269:2: > Fresh storage lookup 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-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:205:10: > Fresh storage lookup created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:69:16: > Parameter reserved 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-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c: (in function ldapssl_init) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:304:7: > Unrecognized identifier: DBG_STRING > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:309:10: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:323:8: > Test expression for if not boolean, type int: defsecure > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:328:13: > Unrecognized identifier: ldapssl_install_routines > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:335:33: > Unrecognized identifier: LDAP_OPT_IO_FUNCS > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:335:53: > Unrecognized identifier: g_SSL_fns_no_prepare > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:343:7: > Return value (type int) ignored: ldap_unbind(ld) > 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-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:344:7: > Fresh storage ld (type LDAP *) not released before assignment: ld = NULL > 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-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:312:4: > Fresh storage ld created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:348:2: > Path with no return in function declared to return LDAP * > There is a path through a function declared to return a value on which there > is no return statement. This means the execution may fall through without > returning a meaningful result to the caller. (Use -noret to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:348:2: > Fresh storage ld 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-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:312:4: > Fresh storage ld created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c: (in function ldapssl_install_routines) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:385:2: > Path with no return in function declared to return int > There is a path through a function declared to return a value on which there > is no return statement. This means the execution may fall through without > returning a meaningful result to the caller. (Use -noret to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c: (in function ldapssl_client_deinit) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:424:4: > Unrecognized identifier: SetCertCallback > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:425:4: > Unrecognized identifier: SET_SSL_UNREGISTERED > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:425:4: > Statement has no effect: SET_SSL_UNREGISTERED > Statement has no visible effect --- no values are modified. (Use -noeffect to > inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_init.c:438:2: > Path with no return in function declared to return int > There is a path through a function declared to return a value on which there > is no return statement. This means the execution may fall through without > returning a meaningful result to the caller. (Use -noret to inhibit warning) > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/suse/novell/ssl/src/ssl_io.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/suse/novell/ssl/src/globals.c ] >novell-NLDAPsdk-8.8/suse/novell/ssl/src/globals.c:58:5: > Unrecognized identifier: iof_socket > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/globals.c:59:5: > Unrecognized identifier: iof_prepare > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/globals.c:60:5: > Unrecognized identifier: iof_connect > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/globals.c:61:5: > Unrecognized identifier: iof_read > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/globals.c:62:5: > Unrecognized identifier: iof_write > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/globals.c:63:5: > Unrecognized identifier: iof_select > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/globals.c:64:5: > Unrecognized identifier: iof_ioctl > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/globals.c:65:5: > Unrecognized identifier: iof_close > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/globals.c:57:1: > Initializer block used for g_SSL_fns where struct ldap_io_funcs is > expected: { iof_socket, iof_prepare, iof_connect, iof_read, iof_write, > iof_select, iof_ioctl, iof_close } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/globals.c:74:5: > Unrecognized identifier: iof_no_prepare > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/globals.c:72:1: > Initializer block used for g_SSL_fns_no_prepare where struct ldap_io_funcs > is expected: { iof_socket, iof_no_prepare, iof_connect, iof_read, > iof_write, iof_select, iof_ioctl, iof_close } > Types are incompatible. (Use -type to inhibit warning) > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c ] >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c: (in function dump_certs_keys_buf) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:81:37: > Null storage passed as non-null param: d2i_PKCS12_bio (..., NULL) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:85:10: > Operand of ! is non-boolean (int): !dump_certs_keys_p12(out, p12, pass) > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:93:16: > Fresh storage p12 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:81:11: > Fresh storage p12 created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c: (in function dump_certs_keys_p12) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:119:23: > Fresh storage p7 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:112:3: > Fresh storage p7 created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:119:23: > Fresh storage asafes 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:110:9: > Fresh storage asafes created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:120:12: > Operand of ! is non-boolean (int): !dump_certs_pkeys_bags(out, bags, pass) > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:122:13: > Fresh storage bags 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:117:4: > Fresh storage bags created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:122:13: > Fresh storage p7 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:112:3: > Fresh storage p7 created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:122:13: > Fresh storage asafes 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:110:9: > Fresh storage asafes created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:127:11: > Fresh storage asafes 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:110:9: > Fresh storage asafes created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:127:11: > Fresh storage bags 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:117:4: > Fresh storage bags created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:127:11: > Fresh storage p7 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:112:3: > Fresh storage p7 created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c: (in function dump_certs_pkeys_bags) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:143:34: > New fresh storage (type PKCS12_SAFEBAG *) passed as implicitly temp (not > released): ((PKCS12_SAFEBAG *)sk_value((bags), (i))) > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:143:8: > Operand of ! is non-boolean (int): !dump_certs_pkeys_bag(out, > ((PKCS12_SAFEBAG *)sk_value((bags), (i))), pass) > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c: (in function dump_certs_pkeys_bag) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:164:3: > Return value (type int) ignored: print_attribs(ou... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:167:3: > Return value (type int) ignored: print_attribs(ou... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:168:40: > Null storage passed as non-null param: > PEM_write_bio_PrivateKey (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:168:46: > Null storage passed as non-null param: > PEM_write_bio_PrivateKey (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:168:55: > Null storage passed as non-null param: > PEM_write_bio_PrivateKey (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:168:61: > Null storage passed as non-null param: PEM_write_bio_PrivateKey (..., NULL) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:168:3: > Return value (type int) ignored: PEM_write_bio_Pr... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:173:3: > Return value (type int) ignored: print_attribs(ou... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:176:47: > Fresh storage p8 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:174:9: > Fresh storage p8 created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:177:3: > Return value (type int) ignored: print_attribs(ou... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:179:40: > Null storage passed as non-null param: > PEM_write_bio_PrivateKey (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:179:46: > Null storage passed as non-null param: > PEM_write_bio_PrivateKey (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:179:55: > Null storage passed as non-null param: > PEM_write_bio_PrivateKey (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:179:61: > Null storage passed as non-null param: PEM_write_bio_PrivateKey (..., NULL) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:179:3: > Return value (type int) ignored: PEM_write_bio_Pr... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:184:3: > Return value (type int) ignored: print_attribs(ou... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:188:3: > Return value (type int) ignored: dump_cert_text(o... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:189:3: > Return value (type int) ignored: PEM_write_bio_X5... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:194:3: > Return value (type int) ignored: print_attribs(ou... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:199:2: Unreachable code: > break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:201:11: > Fresh storage pkey 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:176:9: > Fresh storage pkey created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:201:11: > Fresh storage x509 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:187:9: > Fresh storage x509 created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c: (in function print_attribs) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:219:3: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:222:6: > Operand of ! is non-boolean (int): !sk_num((attrlst)) > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:223:3: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:226:2: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:230:3: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:232:4: > Return value (type int) ignored: i2a_ASN1_OBJECT(... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:233:4: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:234:10: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:236:6: > Test expression for if not boolean, type int: sk_num((attr->value.set)) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:242:5: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:249:5: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:255:5: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:259:6: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:262:10: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:264:11: > Fresh storage attr 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:228:3: > Fresh storage attr created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:264:11: > Fresh storage av 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:237:4: > Fresh storage av created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:264:11: > Fresh storage value 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:240:12: > Fresh storage value created >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c: (in function dump_cert_text) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:276:20: > New fresh storage (type X509_NAME *) passed as implicitly temp (not > released): X509_get_subject_name(x) > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:276:45: > Passed storage buf not completely defined (*buf is undefined): > X509_NAME_oneline (..., buf, ...) > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:276:2: > Return value (type char *) ignored: X509_NAME_onelin... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalother to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:277:2: > Return value (type int) ignored: BIO_puts(out, "s... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:278:2: > Return value (type int) ignored: BIO_puts(out, buf) > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:280:20: > New fresh storage (type X509_NAME *) passed as implicitly temp (not > released): X509_get_issuer_name(x) > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:280:2: > Return value (type char *) ignored: X509_NAME_onelin... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalother to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:281:2: > Return value (type int) ignored: BIO_puts(out, "\... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:282:2: > Return value (type int) ignored: BIO_puts(out, buf) > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:283:2: > Return value (type int) ignored: BIO_puts(out, "\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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c: (in function hex_prin) >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:296:28: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:33:5: > Function exported but not used outside pkcs12x: dump_certs_keys_p12 > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:128:1: > Definition of dump_certs_keys_p12 >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:39:5: > Function exported but not used outside pkcs12x: dump_certs_pkeys_bags > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:147:1: > Definition of dump_certs_pkeys_bags >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:44:5: > Function exported but not used outside pkcs12x: dump_certs_pkeys_bag > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:202:1: > Definition of dump_certs_pkeys_bag >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:50:5: > Function exported but not used outside pkcs12x: print_attribs > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:265:1: > Definition of print_attribs >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:56:5: > Function exported but not used outside pkcs12x: dump_cert_text > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:285:1: > Definition of dump_cert_text >novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:61:6: > Function exported but not used outside pkcs12x: hex_prin > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/suse/novell/ssl/src/pkcs12x.c:297:1: > Definition of hex_prin > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/suse/novell/sasl/src/rand_lock.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5c.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c ] >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c: (in function isValidTokenChar) >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c:40:10: > Operands of >= have incompatible types (char, int): c >= 0x00 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c:40:25: > Operands of <= have incompatible types (char, int): c <= 0x20 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c:41:7: > Operands of >= have incompatible types (char, int): c >= 0x3a > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c:41:22: > Operands of <= have incompatible types (char, int): c <= 0x40 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c:42:7: > Operands of >= have incompatible types (char, int): c >= 0x5b > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c:42:22: > Operands of <= have incompatible types (char, int): c <= 0x5d > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c:43:5: > Operands of == have incompatible types (int, char): 0x2c == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c:44:5: > Operands of == have incompatible types (int, char): 0x25 == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c:45:5: > Operands of == have incompatible types (int, char): 0x28 == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c:46:5: > Operands of == have incompatible types (int, char): 0x29 == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c:47:5: > Operands of == have incompatible types (int, char): 0x7b == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c:48:5: > Operands of == have incompatible types (int, char): 0x7d == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c:49:5: > Operands of == have incompatible types (int, char): 0X7f == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c: (in function isWhiteSpace) >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c:61:8: > Operands of == have incompatible types (int, char): 0x0d == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c:62:5: > Operands of == have incompatible types (int, char): 0x0a == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c:63:5: > Operands of == have incompatible types (int, char): 0x20 == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/md5parse.c:64:5: > Operands of == have incompatible types (int, char): 0x09 == c > To make char and int types equivalent, use +charint. >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/suse/novell/sasl/src/rand_lib.c ] >novell-NLDAPsdk-8.8/suse/novell/sasl/src/rand_lib.c:85:34: > Unrecognized identifier: MD_DIGEST_LENGTH > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/sasl/src/rand_lib.c: (in function XRAND_seed) >novell-NLDAPsdk-8.8/suse/novell/sasl/src/rand_lib.c:110:2: > Unrecognized identifier: XRAND_add > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/sasl/src/rand_lib.c: (in function XRAND_add) >novell-NLDAPsdk-8.8/suse/novell/sasl/src/rand_lib.c:118:10: > Unrecognized identifier: MD5_CTX > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/suse/novell/sasl/src/rand_win.c ] >novell-NLDAPsdk-8.8/suse/novell/sasl/src/rand_win.c: (in function XRAND_poll) >novell-NLDAPsdk-8.8/suse/novell/sasl/src/rand_win.c:659:10: > Function srand expects arg 1 to be unsigned int gets __pid_t: getpid() > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/sasl/src/rand_win.c:661:4: > Unrecognized identifier: XRAND_add > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/sasl/src/rand_win.c:668:17: > Unrecognized identifier: ENTROPY_NEEDED > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/sasl/src/rand_win.c:670:9: > Unrecognized identifier: gettimeofday > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/sasl/src/rand_win.c:671:17: > Variable t 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-NLDAPsdk-8.8/suse/novell/sasl/src/rand_win.c:671:29: > Field t.tv_sec 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-NLDAPsdk-8.8/suse/novell/sasl/src/rand_win.c:677:15: > Function srand expects arg 1 to be unsigned int gets int: seed3 > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/suse/novell/sasl/src/rand_win.c:683:10: > Function srand expects arg 1 to be unsigned int gets __pid_t: getppid() > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/sasl/src/rand_win.c:688:10: > Function srand expects arg 1 to be unsigned int gets int: getpagesize() > To ignore signs in type comparisons use +ignoresigns > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c ] >novell-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c:668:70: > 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-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c:85:7: > Function parameter hexNonce 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-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c: (in function getNonce) >novell-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c:92:7: > Unrecognized identifier: XRAND_bytes > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c:98:4: > Assignment of unsigned char to char: nonceByte = nonce[i] > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c:98:16: > Value nonce[] 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-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c:99:31: > Function getHexChar expects arg 1 to be int gets unsigned char: > nonce[i] & 0x0F > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c:100:35: > Function getHexChar expects arg 1 to be int gets unsigned char: > (nonce[i] & 0xF0) >> 4 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c:104:5: > Assignment of int to char: hexNonce[(2 * 32)] = 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c:115:12: > Function parameter Bin 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-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c:116:15: > Function parameter Hex 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-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c: (in function ConvertHex) >novell-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c:124:13: > Operands of <= have incompatible types (unsigned char, int): j <= 9 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c:125:25: > Incompatible types for + (unsigned char, char): j + '0' > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c:127:25: > Incompatible types for + (unsigned char, char): j + 'a' > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c:129:13: > Operands of <= have incompatible types (unsigned char, int): j <= 9 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c:130:27: > Incompatible types for + (unsigned char, char): j + '0' > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c:132:27: > Incompatible types for + (unsigned char, char): j + 'a' > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c:150:15: > Function parameter SessionKey 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-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c: (in function DigestCalcHA1) >novell-NLDAPsdk-8.8/suse/novell/sasl/src/digestmd5.c:153:15: > Unrecognized identifier: MD5_CTX > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcpart.c ] >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcpart.c: (in function ldap_split_partition) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcpart.c:85:9: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcpart.c:92:9: > Operands of == have incompatible types (int, ber_tag_t): > ber_flatten(requestber, &requestbv) == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcpart.c:98:45: > Unrecognized identifier: NLDAP_SPLIT_PARTITION_EXTENDED_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcpart.c:108:28: > Unrecognized identifier: NLDAP_SPLIT_PARTITION_EXTENDED_REPLY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcpart.c:108:8: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_SPLIT_PARTITION_EXTENDED_REPLY) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcpart.c:130:18: > Fresh storage requestber 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-NLDAPsdk-8.8/suse/novell/extensions/src/lcpart.c:79:5: > Fresh storage requestber created >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcpart.c: (in function ldap_merge_partitions) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcpart.c:170:9: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcpart.c:177:9: > Operands of == have incompatible types (int, ber_tag_t): > ber_flatten(requestber, &requestbv) == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcpart.c:183:46: > Unrecognized identifier: NLDAP_MERGE_PARTITION_EXTENDED_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcpart.c:193:29: > Unrecognized identifier: NLDAP_MERGE_PARTITION_EXTENDED_REPLY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcpart.c:193:9: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_MERGE_PARTITION_EXTENDED_REPLY) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcpart.c:215:18: > Fresh storage requestber 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-NLDAPsdk-8.8/suse/novell/extensions/src/lcpart.c:164:5: > Fresh storage requestber created >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c ] >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c: (in function LBURPEncodeAdd) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c:95:8: > Test expression for if not boolean, type char: > controls[i]->ldctl_iscritical > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c: (in function LBURPEncodeDelete) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c:171:8: > Test expression for if not boolean, type char: > controls[i]->ldctl_iscritical > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c: (in function LBURPEncodeMod) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c:301:8: > Test expression for if not boolean, type char: > controls[i]->ldctl_iscritical > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c:229:23: > Parameter ld 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-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c: (in function LBURPEncodeModRDN) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c:407:8: > Test expression for if not boolean, type char: > controls[i]->ldctl_iscritical > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c:354:10: > Parameter ld 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-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c: (in function ldap_lburp_start_request) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c:460:50: > Unrecognized identifier: NLDAP_LBURP_INCREMENTAL_UPDATE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c:461:6: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c:468:6: > Operands of == have incompatible types (int, ber_tag_t): > ber_flatten(requestber, &requestbv) == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c:476:4: > Unrecognized identifier: NLDAP_LBURP_START_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c:492:15: > Fresh storage requestber 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-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c:455:2: > Fresh storage requestber created >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c: (in function ldap_parse_lburp_start_response) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c:537:26: > Unrecognized identifier: NLDAP_LBURP_START_RESPONSE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c:537:6: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_LBURP_START_RESPONSE) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c:552:2: > Assignment of ber_tag_t to int: err = ber_scanf(returnedber, "{i}", > tranSize) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c:553:6: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c:574:15: > Fresh storage returnedber 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-NLDAPsdk-8.8/suse/novell/extensions/src/lburp.c:545:2: > Fresh storage returnedber created >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c ] >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c: (in function ldap_trigger_back_process) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:70:7: > Unrecognized identifier: LDAP_BK_PROCESS_BKLINKER > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:71:10: > Unrecognized identifier: wrapper_ldap_trigger_backlink > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:72:3: > Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:74:7: > Unrecognized identifier: LDAP_BK_PROCESS_JANITOR > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:75:10: > Unrecognized identifier: wrapper_ldap_trigger_janitor > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:76:3: > Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:78:7: > Unrecognized identifier: LDAP_BK_PROCESS_LIMBER > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:79:10: > Unrecognized identifier: wrapper_ldap_trigger_limber > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:80:3: > Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:82:7: > Unrecognized identifier: LDAP_BK_PROCESS_SKULKER > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:83:10: > Unrecognized identifier: wrapper_ldap_trigger_skulker > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:84:3: > Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:86:7: > Unrecognized identifier: LDAP_BK_PROCESS_SCHEMA_SYNC > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:87:10: > Unrecognized identifier: wrapper_ldap_trigger_schema_sync > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:88:3: > Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:90:7: > Unrecognized identifier: LDAP_BK_PROCESS_PART_PURGE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:91:10: > Unrecognized identifier: wrapper_ldap_trigger_partition_purge > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:92:3: > Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:98:2: > Path with no return in function declared to return int > There is a path through a function declared to return a value on which there > is no return statement. This means the execution may fall through without > returning a meaningful result to the caller. (Use -noret to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c: (in function wrapper_ldap_trigger_backlink) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:125:45: > Unrecognized identifier: NLDAP_TRIGGER_BKLINKER_EXTENDED_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:135:28: > Unrecognized identifier: NLDAP_TRIGGER_BKLINKER_EXTENDED_REPLY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:135:8: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_TRIGGER_BKLINKER_EXTENDED_REPLY) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c: (in function wrapper_ldap_trigger_janitor) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:176:45: > Unrecognized identifier: NLDAP_TRIGGER_JANITOR_EXTENDED_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:186:28: > Unrecognized identifier: NLDAP_TRIGGER_JANITOR_EXTENDED_REPLY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:186:8: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_TRIGGER_JANITOR_EXTENDED_REPLY) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c: (in function wrapper_ldap_trigger_limber) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:226:45: > Unrecognized identifier: NLDAP_TRIGGER_LIMBER_EXTENDED_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:236:28: > Unrecognized identifier: NLDAP_TRIGGER_LIMBER_EXTENDED_REPLY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:236:8: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_TRIGGER_LIMBER_EXTENDED_REPLY) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c: (in function wrapper_ldap_trigger_skulker) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:277:45: > Unrecognized identifier: NLDAP_TRIGGER_SKULKER_EXTENDED_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:287:28: > Unrecognized identifier: NLDAP_TRIGGER_SKULKER_EXTENDED_REPLY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:287:8: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_TRIGGER_SKULKER_EXTENDED_REPLY) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c: (in function wrapper_ldap_trigger_schema_sync) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:327:45: > Unrecognized identifier: NLDAP_TRIGGER_SCHEMA_SYNC_EXTENDED_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:337:28: > Unrecognized identifier: NLDAP_TRIGGER_SCHEMA_SYNC_EXTENDED_REPLY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:337:8: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_TRIGGER_SCHEMA_SYNC_EXTENDED_REPLY) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c: (in function wrapper_ldap_trigger_partition_purge) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:377:45: > Unrecognized identifier: NLDAP_TRIGGER_PART_PURGE_EXTENDED_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:387:28: > Unrecognized identifier: NLDAP_TRIGGER_PART_PURGE_EXTENDED_REPLY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcother.c:387:8: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_TRIGGER_PART_PURGE_EXTENDED_REPLY) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c ] >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c: (in function ldap_backup) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:62:8: > Operand of ! is non-boolean (long int): !mts > 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-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:63:16: > Fresh storage requestber 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-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:53:2: > Fresh storage requestber created >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:65:19: > Possibly null storage passed as non-null param: atoi (strtok(NULL, "+")) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:65:19: > Storage may become null >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:66:8: > Operand of ! is non-boolean (long int): !revision > 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-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:67:16: > Fresh storage requestber 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-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:53:2: > Fresh storage requestber created >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:72:6: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:79:6: > Operands of == have incompatible types (int, ber_tag_t): > ber_flatten(requestber, &requestbv) == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:86:10: > Unrecognized identifier: NLDAP_LDAP_BACKUP_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:100:26: > Unrecognized identifier: NLDAP_LDAP_BACKUP_RESPONSE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:100:6: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_LDAP_BACKUP_RESPONSE) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:122:5: > Assignment of ber_tag_t to int: err = ber_scanf(returnedber, "i", > bufferLength) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:123:6: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:128:2: > Assignment of ber_tag_t to int: err = ber_scanf(returnedber, "i", &mts) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:129:6: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:134:2: > Assignment of ber_tag_t to int: err = ber_scanf(returnedber, "i", > &revision) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:135:6: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:140:2: > Assignment of ber_tag_t to int: err = ber_scanf(returnedber, "a", > &returnedBuffer) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:141:6: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:146:2: > Assignment of ber_tag_t to int: err = ber_scanf(returnedber, "{i[", > &arrayCount) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:147:6: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:153:9: > Possibly null storage temp passed as non-null param: strcpy (temp, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:152:9: > Storage temp may become null >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:154:2: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:154:20: > Variable arrayCount 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-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:156:9: > Possibly null storage arrayBuffer passed as non-null param: > strcat (arrayBuffer, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:155:16: > Storage arrayBuffer may become null >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:156:9: > Passed storage arrayBuffer not completely defined (*arrayBuffer is > undefined): strcat (arrayBuffer, ...) > 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-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:155:2: > Storage *arrayBuffer allocated >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:161:3: > Assignment of ber_tag_t to int: err = ber_scanf(returnedber, "{i}", > &arrayElement) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:162:7: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:167:3: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:167:21: > Variable arrayElement 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-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:169:10: > Possibly null storage arrayBuffer passed as non-null param: > strcat (arrayBuffer, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:168:17: > Storage arrayBuffer may become null >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:174:9: > Possibly null storage *buffer passed as non-null param: > memcpy (*buffer, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:173:12: > Storage *buffer may become null >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:175:54: > Function memcpy expects arg 3 to be size_t gets int: *bufferLength > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:175:38: > Null storage returnedBuffer passed as non-null param: > memcpy (..., returnedBuffer, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:50:25: > Storage returnedBuffer becomes null >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:178:8: > Unqualified storage *stateInfo passed as only param: free (*stateInfo) > Unqualified storage is transferred in an inconsistent way. (Use > -unqualifiedtrans to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:180:2: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:180:25: > Format argument 1 to sprintf (%d) expects int gets long int: mts > To ignore type qualifiers in type comparisons use +ignorequals. > novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:180:18: > Corresponding format code >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:180:30: > Format argument 2 to sprintf (%d) expects int gets long int: revision > To ignore type qualifiers in type comparisons use +ignorequals. > novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:180:21: > Corresponding format code >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:181:15: > Unrecognized identifier: strdup > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:209:13: > Fresh storage requestber 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-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:53:2: > Fresh storage requestber created >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:209:13: > Fresh storage returnedber 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-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:116:2: > Fresh storage returnedber created >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:209:13: > Fresh storage arrayBuffer 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-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:155:2: > Fresh storage arrayBuffer created >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:209:13: > Fresh storage temp 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-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:152:2: > Fresh storage temp created >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:209:13: > Function returns with possibly null storage derivable from parameter > *buffer > 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-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:173:12: > Storage *buffer may become null >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c: (in function ldap_restore) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:234:2: > Return value (type int) ignored: ber_printf(reque... > 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-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:238:7: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:246:29: > Function malloc expects arg 1 to be size_t gets int: bufferLength > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:247:20: > Variable blob 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-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:247:41: > Function memcpy expects arg 3 to be size_t gets int: bufferLength > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:247:9: > Possibly null storage newbuffer passed as non-null param: > memcpy (newbuffer, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:246:14: > Storage newbuffer may become null >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:251:6: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:258:6: > Operands of == have incompatible types (int, ber_tag_t): > ber_flatten(requestber, &requestbv) == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:264:10: > Unrecognized identifier: NLDAP_LDAP_RESTORE_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:278:40: > Unrecognized identifier: NLDAP_LDAP_RESTORE_RESPONSE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:278:6: > Test expression for if not boolean, type int: > strcmp(returnedOID, (const char *)NLDAP_LDAP_RESTORE_RESPONSE) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:305:15: > Fresh storage requestber 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-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:229:5: > Fresh storage requestber created >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:305:15: > Fresh storage newbuffer 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-NLDAPsdk-8.8/suse/novell/extensions/src/lbackup.c:246:2: > Fresh storage newbuffer created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcidentity.c ] >novell-NLDAPsdk-8.8/suse/novell/extensions/src/lcidentity.c:72:23: > No type before declaration name (implicit int type): uint16 : static <any> > A variable declaration has no explicit type. The type is implicitly int. > (Use -imptype to inhibit warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap_r/thr_mod.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap_r/thr_thr.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap_r/threads.c ] >novell-NLDAPsdk-8.8/libraries/libldap_r/threads.c: (in function ldap_pvt_thread_initialize) >novell-NLDAPsdk-8.8/libraries/libldap_r/threads.c:38:10: > Test expression for if not boolean, type int: init++ > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/libraries/libldap_r/threads.c:40:7: > Unrecognized identifier: ldap_int_thread_initialize > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/libraries/libldap_r/threads.c:41:6: > Test expression for if not boolean, type int: rc > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/libraries/libldap_r/threads.c:44:7: > Unrecognized identifier: ldap_int_thread_pool_startup > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/libraries/libldap_r/threads.c:45:6: > Test expression for if not boolean, type int: rc > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/libraries/libldap_r/threads.c: (in function ldap_pvt_thread_destroy) >novell-NLDAPsdk-8.8/libraries/libldap_r/threads.c:54:9: > Unrecognized identifier: ldap_int_thread_pool_shutdown > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/libraries/libldap_r/threads.c:56:9: > Unrecognized identifier: ldap_int_thread_destroy > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/libraries/libldap_r/threads.c: (in function ldap_pvt_thread_set_concurrency) >novell-NLDAPsdk-8.8/libraries/libldap_r/threads.c:69:39: > Parameter concurrency 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-NLDAPsdk-8.8/libraries/libldap_r/threads.c: (in function ldap_pvt_thread_sleep) >novell-NLDAPsdk-8.8/libraries/libldap_r/threads.c:85:2: > Unrecognized identifier: sleep > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap_r/thr_stub.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap_r/thr_posix.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap_r/rdwr.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap_r/thr_nt.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap_r/thr_nw.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/liblber/io.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/liblber/bprint.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/liblber/encode.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/liblber/decode.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/liblber/options.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/liblber/sockbuf.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/liblber/assert.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/liblber/memory.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/loptions.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/dn.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/util-int.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/unbind.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/kbind.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/messages.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/srchpref.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/add.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/tls.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/ufn.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/url.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/result.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/tmplout.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/getvalues.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/sbind.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/compare.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/schema.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/modify.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/charray.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/modrdn.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/utf-8-conv.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/getattr.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/getentry.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/psearchctrl.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/error.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/filter.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/mbconv.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/cancel.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/bind.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/i18n.c ] >novell-NLDAPsdk-8.8/libraries/libldap/i18n.c:22:79: > 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-NLDAPsdk-8.8/libraries/libldap/i18n.c:75:79: > 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-NLDAPsdk-8.8/libraries/libldap/vlvctrl.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/sstatctrl.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/getdn.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/free.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/rand_lock.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/request.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/search.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/dsparse.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/abandon.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/init.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/md5c.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/delete.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/controls.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/nmas.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/references.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/open.c ] >novell-NLDAPsdk-8.8/libraries/libldap/thread_safe.h:13:45: > No type before declaration name (implicit int type): > ldap_pvt_thread_mutex_t : extern <any> > A variable declaration has no explicit type. The type is implicitly int. > (Use -imptype to inhibit warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/lderrno.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/addentry.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/sasl.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/sort.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/getfilter.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c ] >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c: (in function isValidTokenChar) >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c:41:10: > Operands of >= have incompatible types (char, int): c >= 0x00 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c:41:25: > Operands of <= have incompatible types (char, int): c <= 0x20 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c:42:7: > Operands of >= have incompatible types (char, int): c >= 0x3a > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c:42:22: > Operands of <= have incompatible types (char, int): c <= 0x40 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c:43:7: > Operands of >= have incompatible types (char, int): c >= 0x5b > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c:43:22: > Operands of <= have incompatible types (char, int): c <= 0x5d > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c:44:5: > Operands of == have incompatible types (int, char): 0x2c == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c:45:5: > Operands of == have incompatible types (int, char): 0x25 == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c:46:5: > Operands of == have incompatible types (int, char): 0x28 == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c:47:5: > Operands of == have incompatible types (int, char): 0x29 == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c:48:5: > Operands of == have incompatible types (int, char): 0x7b == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c:49:5: > Operands of == have incompatible types (int, char): 0x7d == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c:50:5: > Operands of == have incompatible types (int, char): 0X7f == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c: (in function isWhiteSpace) >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c:62:8: > Operands of == have incompatible types (int, char): 0x0d == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c:63:5: > Operands of == have incompatible types (int, char): 0x0a == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c:64:5: > Operands of == have incompatible types (int, char): 0x20 == c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldap/md5parse.c:65:5: > Operands of == have incompatible types (int, char): 0x09 == c > To make char and int types equivalent, use +charint. >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/eprvcntrl.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/utf-8.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/extended.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/os-ip.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/startup.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/referencectrl.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/dllmain.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/schema_util.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/cache.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/rand_lib.c ] >novell-NLDAPsdk-8.8/libraries/libldap/rand_lib.c:85:34: > Unrecognized identifier: MD_DIGEST_LENGTH > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/libraries/libldap/rand_lib.c: (in function XRAND_seed) >novell-NLDAPsdk-8.8/libraries/libldap/rand_lib.c:110:2: > Unrecognized identifier: XRAND_add > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/libraries/libldap/rand_lib.c: (in function XRAND_add) >novell-NLDAPsdk-8.8/libraries/libldap/rand_lib.c:118:10: > Unrecognized identifier: MD5_CTX > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/rand_win.c ] >novell-NLDAPsdk-8.8/libraries/libldap/rand_win.c: (in function XRAND_poll) >novell-NLDAPsdk-8.8/libraries/libldap/rand_win.c:656:32: > Initializer block used for sleeptime where struct timespec is expected: > { 0, 2000 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/libraries/libldap/rand_win.c:659:10: > Function srand expects arg 1 to be unsigned int gets __pid_t: getpid() > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/libraries/libldap/rand_win.c:661:4: > Unrecognized identifier: XRAND_add > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/libraries/libldap/rand_win.c:668:17: > Unrecognized identifier: ENTROPY_NEEDED > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/libraries/libldap/rand_win.c:670:9: > Unrecognized identifier: gettimeofday > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/libraries/libldap/rand_win.c:671:17: > Variable t 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-NLDAPsdk-8.8/libraries/libldap/rand_win.c:671:29: > Field t.tv_sec 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-NLDAPsdk-8.8/libraries/libldap/rand_win.c:677:15: > Function srand expects arg 1 to be unsigned int gets int: seed3 > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/libraries/libldap/rand_win.c:683:10: > Function srand expects arg 1 to be unsigned int gets __pid_t: getppid() > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/libraries/libldap/rand_win.c:688:10: > Function srand expects arg 1 to be unsigned int gets int: getpagesize() > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/libraries/libldap/rand_win.c:656:20: > Variable sleeptime 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-NLDAPsdk-8.8/libraries/libldap/friendly.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/string.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/chain.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/sortctrl.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/digestmd5.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/disptmpl.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/print.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldap/sockio.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldif/fetch.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/libldif/line64.c ] >novell-NLDAPsdk-8.8/libraries/libldif/line64.c:60:9: > String literal with 65 characters is assigned to char [64] (no room for > null terminator): "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234 > 56789+/" > A string literal is assigned to a char array that is not big enough to hold > the null terminator. (Use -stringliteralnoroom to inhibit warning) >novell-NLDAPsdk-8.8/libraries/libldif/line64.c:63:2: > Initial value of b642nib[0] is type int, expects unsigned char: 0xff > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldif/line64.c:63:8: > Initial value of b642nib[1] is type int, expects unsigned char: 0xff > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldif/line64.c:63:14: > Initial value of b642nib[2] is type int, expects unsigned char: 0xff > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldif/line64.c:63:20: > Initial value of b642nib[3] is type int, expects unsigned char: 0xff > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/libraries/libldif/line64.c:79:3: > Additional initialization errors for b642nib not reported >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/liblutil/signal.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/liblutil/getopt.c ] >novell-NLDAPsdk-8.8/libraries/liblutil/getopt.c: (in function ERR) >novell-NLDAPsdk-8.8/libraries/liblutil/getopt.c:43:6: > Test expression for if not boolean, type int: opterr > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/libraries/liblutil/getopt.c:47:10: Unrecognized identifier: > write > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/libraries/liblutil/getopt.c: (in function getopt) >novell-NLDAPsdk-8.8/libraries/liblutil/getopt.c:85:14: > Variable cp 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-NLDAPsdk-8.8/libraries/liblutil/getopt.c:108:17: > Function returns with non-null global optarg referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/libraries/liblutil/getopt.c:106:12: > Storage optarg becomes null >novell-NLDAPsdk-8.8/libraries/liblutil/getopt.c:31:5: > Variable exported but not used outside getopt: opterr > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) >novell-NLDAPsdk-8.8/libraries/liblutil/getopt.c:32:5: > Variable exported but not used outside getopt: optind > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) >novell-NLDAPsdk-8.8/libraries/liblutil/getopt.c:33:5: > Variable exported but not used outside getopt: optopt > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) >novell-NLDAPsdk-8.8/libraries/liblutil/getopt.c:34:8: > Variable exported but not used outside getopt: optarg > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/liblutil/getpass.c ] > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/liblutil/sslinit.c ] >novell-NLDAPsdk-8.8/libraries/liblutil/sslinit.c:29:62: > No type before declaration name (implicit int type): > LDAPSSL_CLIENT_INIT_FUNC : static <any> > A variable declaration has no explicit type. The type is implicitly int. > (Use -imptype to inhibit warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/libraries/liblutil/base64.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/cmpattrs.c ] >novell-NLDAPsdk-8.8/samples/cmpattrs.c: (in function main) >novell-NLDAPsdk-8.8/samples/cmpattrs.c:48:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/cmpattrs.c:68:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/cmpattrs.c:69:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/cmpattrs.c:83:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/cmpattrs.c:84:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/cmpattrs.c:85:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/cmpattrs.c:72:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/cmpattrs.c:96:5: > Observer storage compareValue assigned to unqualified reference: > bvalue.bv_val = compareValue > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/cmpattrs.c:95:20: > Storage compareValue becomes observer >novell-NLDAPsdk-8.8/samples/cmpattrs.c:97:5: Assignment of size_t to ber_len_t: > bvalue.bv_len = strlen(compareValue) > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/samples/cmpattrs.c:113:5: > Observer storage compareValue assigned to unqualified reference: > bvalue.bv_val = compareValue > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/cmpattrs.c:112:20: > Storage compareValue becomes observer >novell-NLDAPsdk-8.8/samples/cmpattrs.c:114:5: > Assignment of size_t to ber_len_t: bvalue.bv_len = strlen(compareValue) > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/samples/cmpattrs.c:125:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/cmpattrs.c:127:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/cmpattrs.c:72:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/cmpattrs.c: (in function printout) >novell-NLDAPsdk-8.8/samples/cmpattrs.c:145:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/cmpattrs.c:38:6: > Function exported but not used outside cmpattrs: printout > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/cmpattrs.c:148:1: Definition of printout > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/debug.c ] >novell-NLDAPsdk-8.8/samples/debug.c: (in function main) >novell-NLDAPsdk-8.8/samples/debug.c:108:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/debug.c:142:20: Return value (type int) ignored: > puts("Invalid op... > 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-NLDAPsdk-8.8/samples/debug.c:148:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/debug.c:149:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/debug.c:150:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/debug.c:165:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/debug.c:166:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/debug.c:167:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/debug.c:154:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/debug.c:186:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/debug.c:187:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/debug.c:188:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/debug.c:154:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/debug.c:193:14: Operand of ! is non-boolean (int): > !done > 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-NLDAPsdk-8.8/samples/debug.c:205:13: Return value (type int) ignored: > ldap_get_option(... > 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-NLDAPsdk-8.8/samples/debug.c:207:38: > Variable errorCode 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-NLDAPsdk-8.8/samples/debug.c:207:21: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(errorCode) > 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-NLDAPsdk-8.8/samples/debug.c:208:13: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/debug.c:209:25: > Fresh storage ld 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-NLDAPsdk-8.8/samples/debug.c:154:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/debug.c:214:13: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/debug.c:215:23: > Fresh storage ld 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-NLDAPsdk-8.8/samples/debug.c:154:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/debug.c:221:41: > Variable searchResult 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-NLDAPsdk-8.8/samples/debug.c:230:64: > Variable ber used before definition (in post loop increment) > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-NLDAPsdk-8.8/samples/debug.c:230:21: > Fresh storage attribute (type char *) not released before assignment: > attribute = ldap_next_attribute(ld, entry, ber) > 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-NLDAPsdk-8.8/samples/debug.c:228:21: Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/debug.c:244:22: Variable ber 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-NLDAPsdk-8.8/samples/debug.c:245:13: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/debug.c:253:37: > Variable searchResult 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-NLDAPsdk-8.8/samples/debug.c:264:69: > Variable errorCode 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-NLDAPsdk-8.8/samples/debug.c:264:53: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(errorCode) > 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-NLDAPsdk-8.8/samples/debug.c:266:18: > Variable matchedDN 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-NLDAPsdk-8.8/samples/debug.c:266:39: > Operands of != have incompatible types (char, int): *matchedDN != 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/debug.c:280:15: Operand of ! is non-boolean (int): > !done > 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-NLDAPsdk-8.8/samples/debug.c:288:19: > Variable matchedDN 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-NLDAPsdk-8.8/samples/debug.c:290:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/debug.c:292:17: > Fresh storage attribute 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-NLDAPsdk-8.8/samples/debug.c:228:21: Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/debug.c:292:17: > Fresh storage dn 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-NLDAPsdk-8.8/samples/debug.c:221:19: Fresh storage dn created >novell-NLDAPsdk-8.8/samples/debug.c:292:17: > Fresh storage values 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-NLDAPsdk-8.8/samples/debug.c:233:23: Fresh storage values created >novell-NLDAPsdk-8.8/samples/debug.c:292:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/debug.c:154:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/debug.c:292:17: > Fresh storage entry 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-NLDAPsdk-8.8/samples/debug.c:227:13: Fresh storage entry created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/listgroup.c ] >novell-NLDAPsdk-8.8/samples/listgroup.c: (in function main) >novell-NLDAPsdk-8.8/samples/listgroup.c:87:58: > Local attrs[7] initialized to null value: attrs[7] = 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-NLDAPsdk-8.8/samples/listgroup.c:99:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/listgroup.c:119:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/listgroup.c:120:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/listgroup.c:133:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/listgroup.c:155:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/listgroup.c:156:23: > Variable searchResult 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-NLDAPsdk-8.8/samples/listgroup.c:156:9: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/listgroup.c:163:51: > Variable searchResult 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-NLDAPsdk-8.8/samples/listgroup.c:165:64: > Variable ber used before definition (in post loop increment) > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-NLDAPsdk-8.8/samples/listgroup.c:165:13: > Fresh storage attribute (type char *) not released before assignment: > attribute = ldap_next_attribute(ld, searchResult, ber) > 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-NLDAPsdk-8.8/samples/listgroup.c:163:13: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/listgroup.c:214:15: > Variable ber 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-NLDAPsdk-8.8/samples/listgroup.c:215:5: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/listgroup.c:240:10: > Operand of ! is non-boolean (int): !isGroup > 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-NLDAPsdk-8.8/samples/listgroup.c:247:9: > Test expression for if not boolean, type int: isDynamicGroup > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/listgroup.c:258:13: > Operands of && are non-booleans (char **, char *): identity && identity[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-NLDAPsdk-8.8/samples/listgroup.c:264:13: > Operands of && are non-booleans (char **, char *): > allowDuplicates && allowDuplicates[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-NLDAPsdk-8.8/samples/listgroup.c:269:13: > Operands of && are non-booleans (char **, char *): > dgTimeout && dgTimeout[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-NLDAPsdk-8.8/samples/listgroup.c:303:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/listgroup.c:305:25: > Fresh storage ld 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-NLDAPsdk-8.8/samples/listgroup.c:123:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/listgroup.c:305:25: > Fresh storage objClass 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-NLDAPsdk-8.8/samples/listgroup.c:172:13: > Fresh storage objClass created >novell-NLDAPsdk-8.8/samples/listgroup.c:305:25: > Fresh storage identity 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-NLDAPsdk-8.8/samples/listgroup.c:184:13: > Fresh storage identity created >novell-NLDAPsdk-8.8/samples/listgroup.c:305:25: > Fresh storage queryURL 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-NLDAPsdk-8.8/samples/listgroup.c:178:13: > Fresh storage queryURL created >novell-NLDAPsdk-8.8/samples/listgroup.c:305:25: > Fresh storage allowDuplicates 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-NLDAPsdk-8.8/samples/listgroup.c:190:13: > Fresh storage allowDuplicates created >novell-NLDAPsdk-8.8/samples/listgroup.c:305:25: > Fresh storage dgTimeout 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-NLDAPsdk-8.8/samples/listgroup.c:196:13: > Fresh storage dgTimeout created >novell-NLDAPsdk-8.8/samples/listgroup.c:305:25: > Fresh storage excludedMember 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-NLDAPsdk-8.8/samples/listgroup.c:202:13: > Fresh storage excludedMember created >novell-NLDAPsdk-8.8/samples/listgroup.c:305:25: > Fresh storage member 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-NLDAPsdk-8.8/samples/listgroup.c:209:13: Fresh storage member created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/saslExternal.c ] >novell-NLDAPsdk-8.8/samples/saslExternal.c: (in function main) >novell-NLDAPsdk-8.8/samples/saslExternal.c:158:5: Unrecognized identifier: LDAP > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/saslExternal.c:158:18: Unrecognized identifier: ld > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/addentry1.c ] >novell-NLDAPsdk-8.8/samples/addentry1.c: (in function main) >novell-NLDAPsdk-8.8/samples/addentry1.c:53:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/addentry1.c:83:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/addentry1.c:84:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/addentry1.c:98:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/addentry1.c:99:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/addentry1.c:100:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/addentry1.c:87:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/addentry1.c:116:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/addentry1.c:117:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/addentry1.c:87:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/addentry1.c:125:13: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/addentry1.c:126:25: > Fresh storage ld 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-NLDAPsdk-8.8/samples/addentry1.c:87:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/addentry1.c:126:25: > Fresh storage mods 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-NLDAPsdk-8.8/samples/addentry1.c:111:5: Fresh storage mods created >novell-NLDAPsdk-8.8/samples/addentry1.c:149:5: > Index of possibly null pointer objectclassValues: objectclassValues > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry1.c:141:25: > Storage objectclassValues may become null >novell-NLDAPsdk-8.8/samples/addentry1.c:149:28: Unrecognized identifier: strdup > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/addentry1.c:151:5: > Index of possibly null pointer commonnameValues: commonnameValues > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry1.c:142:25: > Storage commonnameValues may become null >novell-NLDAPsdk-8.8/samples/addentry1.c:155:5: > Index of possibly null pointer givennameValues: givennameValues > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry1.c:143:25: > Storage givennameValues may become null >novell-NLDAPsdk-8.8/samples/addentry1.c:159:5: > Index of possibly null pointer surnameValues: surnameValues > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry1.c:144:25: > Storage surnameValues may become null >novell-NLDAPsdk-8.8/samples/addentry1.c:161:5: > Index of possibly null pointer phonenumberValues: phonenumberValues > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry1.c:145:25: > Storage phonenumberValues may become null >novell-NLDAPsdk-8.8/samples/addentry1.c:163:5: > Index of possibly null pointer mailValues: mailValues > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry1.c:146:25: > Storage mailValues may become null >novell-NLDAPsdk-8.8/samples/addentry1.c:165:5: > Index of possibly null pointer passValues: passValues > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry1.c:147:25: > Storage passValues may become null >novell-NLDAPsdk-8.8/samples/addentry1.c:168:5: > Array element mods[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-NLDAPsdk-8.8/samples/addentry1.c:169:5: > Implicitly only storage mods[0]->mod_type (type char *) not released before > assignment: mods[0]->mod_type = strdup("objectclass") > 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-NLDAPsdk-8.8/samples/addentry1.c:172:5: > Implicitly only storage mods[1]->mod_type (type char *) not released before > assignment: mods[1]->mod_type = strdup("cn") > 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-NLDAPsdk-8.8/samples/addentry1.c:175:5: > Implicitly only storage mods[2]->mod_type (type char *) not released before > assignment: mods[2]->mod_type = strdup("givenname") > 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-NLDAPsdk-8.8/samples/addentry1.c:178:5: > Implicitly only storage mods[3]->mod_type (type char *) not released before > assignment: mods[3]->mod_type = strdup("sn") > 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-NLDAPsdk-8.8/samples/addentry1.c:181:5: > Implicitly only storage mods[4]->mod_type (type char *) not released before > assignment: mods[4]->mod_type = strdup("telephonenumber") > 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-NLDAPsdk-8.8/samples/addentry1.c:184:5: > Implicitly only storage mods[5]->mod_type (type char *) not released before > assignment: mods[5]->mod_type = strdup("mail") > 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-NLDAPsdk-8.8/samples/addentry1.c:187:5: > Implicitly only storage mods[6]->mod_type (type char *) not released before > assignment: mods[6]->mod_type = strdup("userPassword") > 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-NLDAPsdk-8.8/samples/addentry1.c:192:13: > Possibly null storage dn passed as non-null param: strcpy (dn, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry1.c:191:8: Storage dn may become null >novell-NLDAPsdk-8.8/samples/addentry1.c:206:40: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/addentry1.c:209:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/addentry1.c:210:19: > Fresh storage mods 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-NLDAPsdk-8.8/samples/addentry1.c:111:5: Fresh storage mods created >novell-NLDAPsdk-8.8/samples/addentry1.c:210:19: > Fresh storage ld 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-NLDAPsdk-8.8/samples/addentry1.c:87:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/addentry1.c:216:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/addentry1.c:218:15: > Fresh storage ld 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-NLDAPsdk-8.8/samples/addentry1.c:87:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/addentry1.c:218:15: > Fresh storage mods 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-NLDAPsdk-8.8/samples/addentry1.c:111:5: Fresh storage mods created >novell-NLDAPsdk-8.8/samples/addentry1.c: (in function mods_free) >novell-NLDAPsdk-8.8/samples/addentry1.c:247:15: > 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-NLDAPsdk-8.8/samples/addentry1.c:250:10: > Test expression for if not boolean, type int: freemods > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/addentry1.c:251:15: > 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-NLDAPsdk-8.8/samples/addentry1.c: (in function memvfree) >novell-NLDAPsdk-8.8/samples/addentry1.c:268:15: > 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-NLDAPsdk-8.8/samples/addentry1.c:270:11: > 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-NLDAPsdk-8.8/samples/sslbindi.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/simplepass.c ] >novell-NLDAPsdk-8.8/samples/simplepass.c: (in function main) >novell-NLDAPsdk-8.8/samples/simplepass.c:79:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/simplepass.c:88:16: Unrecognized identifier: > LDAP_CONTROL_SIMPLE_PASS > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/simplepass.c:89:20: > Local simplePasswordControl.ldctl_value.bv_val initialized to null value: > simplePasswordControl.ldctl_value.bv_val = 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-NLDAPsdk-8.8/samples/simplepass.c:90:16: > Initial value of simplePasswordControl.ldctl_iscritical is type int, > expects char: 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/samples/simplepass.c:91:34: > Storage simplePasswordControl reachable from initial value is unqualified > static (should be unqualified) > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) >novell-NLDAPsdk-8.8/samples/simplepass.c:91:58: > Local controls[1] initialized to null value: controls[1] = 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-NLDAPsdk-8.8/samples/simplepass.c:112:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/simplepass.c:113:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/simplepass.c:127:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/simplepass.c:128:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/simplepass.c:129:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/simplepass.c:116:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/simplepass.c:137:5: > Observer storage assigned to unqualified reference: > setpass.mod_type = "userPassword" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/simplepass.c:137:26: Storage becomes observer >novell-NLDAPsdk-8.8/samples/simplepass.c:154:47: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/simplepass.c:155:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/simplepass.c:156:19: > Fresh storage ld 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-NLDAPsdk-8.8/samples/simplepass.c:116:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/simplepass.c:160:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/simplepass.c:162:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/simplepass.c:116:11: Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/schema.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/mkcontainer.c ] >novell-NLDAPsdk-8.8/samples/mkcontainer.c: (in function main) >novell-NLDAPsdk-8.8/samples/mkcontainer.c:59:33: > Local flagValue[1] initialized to null value: flagValue[1] = 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-NLDAPsdk-8.8/samples/mkcontainer.c:61:5: Unrecognized identifier: > LDAPSchema > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/mkcontainer.c:61:20: Unrecognized identifier: > schema > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c ] >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c: (in function main) >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:66:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:92:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:93:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:108:50: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:109:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:110:18: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:96:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:117:38: > Passed storage time not completely defined (*time is undefined): > getTime (..., time) > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:118:56: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:119:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:120:18: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:96:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:125:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:126:18: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:96:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:138:13: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:139:22: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:96:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:144:9: > Observer storage assigned to unqualified reference: > modTime.mod_type = "passwordExpirationTime" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:144:30: > Storage becomes observer >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:160:47: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:161:13: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:162:22: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:96:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:169:13: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:170:22: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:96:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:175:13: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:176:22: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:96:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:188:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:190:14: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:96:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c: (in function getTime) >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:201:56: > Local attrs[1] initialized to null value: attrs[1] = 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:202:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:223:44: > Variable searchResult 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:233:14: > Variable ber 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:234:5: > Return value (type int) ignored: ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:236:14: > Fresh storage values 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:225:14: > Fresh storage values created >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:236:14: > Fresh storage attr 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:224:14: > Fresh storage attr created >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:236:14: > Fresh storage entry 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:223:14: > Fresh storage entry created >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c: (in function printTime) >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:248:5: > Return value (type int) ignored: sscanf(utc, "%4d... > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:257:17: > Passed storage UTC contains 2 undefined fields: tm_wday, tm_yday > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:260:9: > Suspect modification of observer time[]: time[strlen(time) - 1] = '\0' > Storage declared with observer is possibly modified. Observer storage may not > be modified. (Use -modobserver to inhibit warning) > novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:258:16: > Storage time[] becomes observer >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c: (in function extendTime) >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:273:5: > Return value (type int) ignored: sscanf(utc, "%4d... > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:285:18: > Passed storage UTC contains 2 undefined fields: tm_wday, tm_yday > 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-NLDAPsdk-8.8/samples/modifyTimeStamp.c:293:5: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:56:6: > Function exported but not used outside modifyTimeStamp: getTime > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:237:1: Definition of getTime >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:57:6: > Function exported but not used outside modifyTimeStamp: printTime > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:263:1: Definition of printTime >novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:58:6: > Function exported but not used outside modifyTimeStamp: extendTime > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/modifyTimeStamp.c:297:1: > Definition of extendTime > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/utf8bind.c ] >novell-NLDAPsdk-8.8/samples/utf8bind.c:153:79: 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-NLDAPsdk-8.8/samples/utf8bind.c: (in function main) >novell-NLDAPsdk-8.8/samples/utf8bind.c:60:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/utf8bind.c:84:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/utf8bind.c:85:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/utf8bind.c:104:42: > New fresh storage (type char *) passed as implicitly temp (not released): > utf8_to_local(errorMesg) > 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-NLDAPsdk-8.8/samples/utf8bind.c:107:8: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/utf8bind.c:108:21: > Fresh storage errorMesg 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-NLDAPsdk-8.8/samples/utf8bind.c:102:8: > Fresh storage errorMesg created >novell-NLDAPsdk-8.8/samples/utf8bind.c:108:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/utf8bind.c:90:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/utf8bind.c:112:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/utf8bind.c:118:11: > Fresh storage ld (type LDAP *) not released before assignment: > ld = ldap_init(ldapHost, ldapPort) > 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-NLDAPsdk-8.8/samples/utf8bind.c:90:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/utf8bind.c:132:42: > New fresh storage (type char *) passed as implicitly temp (not released): > utf8_to_local(errorMesg) > 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-NLDAPsdk-8.8/samples/utf8bind.c:135:8: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/utf8bind.c:136:21: > Fresh storage errorMesg 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-NLDAPsdk-8.8/samples/utf8bind.c:130:2: > Fresh storage errorMesg created >novell-NLDAPsdk-8.8/samples/utf8bind.c:136:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/utf8bind.c:118:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/utf8bind.c:140:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/utf8bind.c:142:18: > Fresh storage ld 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-NLDAPsdk-8.8/samples/utf8bind.c:118:11: Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/threadSafe.c ] >novell-NLDAPsdk-8.8/samples/threadSafe.c: (in function main) >novell-NLDAPsdk-8.8/samples/threadSafe.c:103:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/threadSafe.c:117:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/threadSafe.c:118:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/threadSafe.c:119:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/threadSafe.c:106:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/threadSafe.c:125:13: Unrecognized identifier: > ldap_dup > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/threadSafe.c:204:9: > Return value (type int) ignored: ldap_unbind(ld) > 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-NLDAPsdk-8.8/samples/threadSafe.c:205:13: > Fresh storage ld 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-NLDAPsdk-8.8/samples/threadSafe.c:106:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/threadSafe.c:61:50: > Variable dn 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) >novell-NLDAPsdk-8.8/samples/threadSafe.c: (in function Add) >novell-NLDAPsdk-8.8/samples/threadSafe.c:219:5: > Observer storage assigned to unqualified reference: > modClass.mod_type = "objectclass" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/threadSafe.c:219:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/threadSafe.c:220:5: > Observer storage assigned to unqualified reference: > vclass[0] = "inetOrgPerson" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/threadSafe.c:220:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/threadSafe.c:225:5: > Observer storage assigned to unqualified reference: modCN.mod_type = "cn" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/threadSafe.c:225:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/threadSafe.c:226:5: > Observer storage assigned to unqualified reference: vcn[0] = "james" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/threadSafe.c:226:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/threadSafe.c:231:5: > Observer storage assigned to unqualified reference: modSN.mod_type = "sn" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/threadSafe.c:231:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/threadSafe.c:232:5: > Observer storage assigned to unqualified reference: vsn[0] = "Smith" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/threadSafe.c:232:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/threadSafe.c:250:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/threadSafe.c:258:2: Unrecognized identifier: > ldap_destroy > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/threadSafe.c:264:9: > 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-NLDAPsdk-8.8/samples/threadSafe.c: (in function Search) >novell-NLDAPsdk-8.8/samples/threadSafe.c:294:43: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/threadSafe.c:300:47: > Variable searchResult 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-NLDAPsdk-8.8/samples/threadSafe.c:312:61: > Variable ber used before definition (in post loop increment) > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-NLDAPsdk-8.8/samples/threadSafe.c:312:17: > Fresh storage attribute (type char *) not released before assignment: > attribute = ldap_next_attribute(ld, entry, ber) > 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-NLDAPsdk-8.8/samples/threadSafe.c:310:17: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/threadSafe.c:324:18: > Variable ber 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-NLDAPsdk-8.8/samples/threadSafe.c:302:13: > Fresh storage entry (type LDAPMessage *) not released before assignment (in > post loop increment): entry = ldap_next_entry(ld, entry) > 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-NLDAPsdk-8.8/samples/threadSafe.c:300:13: Fresh storage entry created >novell-NLDAPsdk-8.8/samples/threadSafe.c:334:2: > Return value (type int) ignored: ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/threadSafe.c:341:9: > 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-NLDAPsdk-8.8/samples/threadSafe.c:341:14: > Fresh storage dn 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-NLDAPsdk-8.8/samples/threadSafe.c:304:15: Fresh storage dn created >novell-NLDAPsdk-8.8/samples/threadSafe.c:341:14: > Fresh storage attribute 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-NLDAPsdk-8.8/samples/threadSafe.c:310:17: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/threadSafe.c:341:14: > Fresh storage values 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-NLDAPsdk-8.8/samples/threadSafe.c:315:19: > Fresh storage values created >novell-NLDAPsdk-8.8/samples/threadSafe.c:37:14: > Variable exported but not used outside threadSafe: searchBase > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/addUserToGroup.c ] >novell-NLDAPsdk-8.8/samples/addUserToGroup.c: (in function main) >novell-NLDAPsdk-8.8/samples/addUserToGroup.c:49:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/addUserToGroup.c:69:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/addUserToGroup.c:70:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/addUserToGroup.c:81:48: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/addUserToGroup.c:82:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/addUserToGroup.c:83:20: > Fresh storage ld 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-NLDAPsdk-8.8/samples/addUserToGroup.c:73:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/addUserToGroup.c:96:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/addUserToGroup.c:98:16: > Fresh storage ld 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-NLDAPsdk-8.8/samples/addUserToGroup.c:73:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/addUserToGroup.c: (in function _addUserToGroup) >novell-NLDAPsdk-8.8/samples/addUserToGroup.c:113:5: > Observer storage assigned to unqualified reference: > membership.mod_type = "groupMembership" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addUserToGroup.c:113:27: > Storage becomes observer >novell-NLDAPsdk-8.8/samples/addUserToGroup.c:118:5: > Observer storage assigned to unqualified reference: > security.mod_type = "securityEquals" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addUserToGroup.c:118:25: > Storage becomes observer >novell-NLDAPsdk-8.8/samples/addUserToGroup.c:132:5: > Observer storage assigned to unqualified reference: > member.mod_type = "uniqueMember" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addUserToGroup.c:132:23: > Storage becomes observer >novell-NLDAPsdk-8.8/samples/addUserToGroup.c:137:5: > Observer storage assigned to unqualified reference: > equivalent.mod_type = "equivalentToMe" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addUserToGroup.c:137:27: > Storage becomes observer >novell-NLDAPsdk-8.8/samples/addUserToGroup.c:157:59: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/addUserToGroup.c:177:60: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/addUserToGroup.c:195:11: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/addUserToGroup.c:36:5: > Function exported but not used outside addUserToGroup: _addUserToGroup > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/addUserToGroup.c:199:1: > Definition of _addUserToGroup > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/modattrs.c ] >novell-NLDAPsdk-8.8/samples/modattrs.c: (in function main) >novell-NLDAPsdk-8.8/samples/modattrs.c:45:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/modattrs.c:65:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/modattrs.c:66:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/modattrs.c:80:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/modattrs.c:81:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modattrs.c:82:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modattrs.c:69:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/modattrs.c:101:5: > Observer storage assigned to unqualified reference: > modMail.mod_type = "mail" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/modattrs.c:101:24: Storage becomes observer >novell-NLDAPsdk-8.8/samples/modattrs.c:102:5: > Observer storage assigned to unqualified reference: > mailValues[0] = "jimmy@acme.com" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/modattrs.c:102:21: Storage becomes observer >novell-NLDAPsdk-8.8/samples/modattrs.c:110:5: > Observer storage assigned to unqualified reference: > modPhone1.mod_type = "telephoneNumber" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/modattrs.c:110:26: Storage becomes observer >novell-NLDAPsdk-8.8/samples/modattrs.c:111:5: > Observer storage assigned to unqualified reference: > phoneValues1[0] = "1 234 567 8910" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/modattrs.c:111:23: Storage becomes observer >novell-NLDAPsdk-8.8/samples/modattrs.c:120:5: > Observer storage assigned to unqualified reference: > modPhone2.mod_type = "telephoneNumber" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/modattrs.c:120:26: Storage becomes observer >novell-NLDAPsdk-8.8/samples/modattrs.c:121:5: > Observer storage assigned to unqualified reference: > phoneValues2[0] = "1 234 567 8910" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/modattrs.c:121:23: Storage becomes observer >novell-NLDAPsdk-8.8/samples/modattrs.c:139:43: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/modattrs.c:140:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modattrs.c:141:19: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modattrs.c:69:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/modattrs.c:145:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modattrs.c:147:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modattrs.c:69:11: Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/mutual.c ] >novell-NLDAPsdk-8.8/samples/mutual.c: (in function main) >novell-NLDAPsdk-8.8/samples/mutual.c:160:5: Unrecognized identifier: LDAP > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/mutual.c:160:18: Unrecognized identifier: ld > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/nameandoid.c ] >novell-NLDAPsdk-8.8/samples/nameandoid.c: (in function main) >novell-NLDAPsdk-8.8/samples/nameandoid.c:128:14: > Variable type 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-NLDAPsdk-8.8/samples/nameandoid.c:129:30: Unrecognized identifier: > TOTAL_LEN > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/nameandoid.c:130:39: Unrecognized identifier: > namesandoids > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/nameandoid.c:146:13: > Operand of ! is non-boolean (int): !found > 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-NLDAPsdk-8.8/samples/nameandoid.c:147:38: > Test expression for conditional not boolean, type int: type > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/nameandoid.c: (in function printNameAndOID) >novell-NLDAPsdk-8.8/samples/nameandoid.c:159:9: > Test expression for if not boolean, type char: *oid > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/samples/nameandoid.c:160:9: > Test expression for if not boolean, type char: *dName > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/samples/nameandoid.c:161:9: > Test expression for if not boolean, type char: *sName > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/samples/nameandoid.c:162:9: > Test expression for if not boolean, type char: *ref > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/samples/nameandoid.c:78:6: > Function exported but not used outside nameandoid: printNameAndOID > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/nameandoid.c:164:1: > Definition of printNameAndOID > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/bind.c ] >novell-NLDAPsdk-8.8/samples/bind.c: (in function main) >novell-NLDAPsdk-8.8/samples/bind.c:40:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/bind.c:64:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/bind.c:65:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/bind.c:82:48: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/bind.c:83:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/bind.c:84:22: > Fresh storage ld 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-NLDAPsdk-8.8/samples/bind.c:70:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/bind.c:88:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/bind.c:94:11: > Fresh storage ld (type LDAP *) not released before assignment: > ld = ldap_init(ldapHost, ldapPort) > 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-NLDAPsdk-8.8/samples/bind.c:70:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/bind.c:106:48: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/bind.c:107:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/bind.c:108:22: > Fresh storage ld 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-NLDAPsdk-8.8/samples/bind.c:94:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/bind.c:112:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/bind.c:114:18: > Fresh storage ld 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-NLDAPsdk-8.8/samples/bind.c:94:11: Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/setpass.c ] >novell-NLDAPsdk-8.8/samples/setpass.c: (in function main) >novell-NLDAPsdk-8.8/samples/setpass.c:57:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/setpass.c:78:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/setpass.c:79:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/setpass.c:93:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/setpass.c:94:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/setpass.c:95:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/setpass.c:82:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/setpass.c:114:5: > Observer storage assigned to unqualified reference: > setpass.mod_type = "userPassword" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/setpass.c:114:26: Storage becomes observer >novell-NLDAPsdk-8.8/samples/setpass.c:131:47: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/setpass.c:132:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/setpass.c:133:19: > Fresh storage ld 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-NLDAPsdk-8.8/samples/setpass.c:82:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/setpass.c:137:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/setpass.c:139:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/setpass.c:82:11: Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/vlvcntl.c ] >novell-NLDAPsdk-8.8/samples/vlvcntl.c: (in function main) >novell-NLDAPsdk-8.8/samples/vlvcntl.c:45:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/vlvcntl.c:56:36: > Local serverctrls[0] initialized to null value: serverctrls[0] = 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-NLDAPsdk-8.8/samples/vlvcntl.c:56:42: > Local serverctrls[1] initialized to null value: serverctrls[1] = 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-NLDAPsdk-8.8/samples/vlvcntl.c:56:48: > Local serverctrls[2] initialized to null value: serverctrls[2] = 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-NLDAPsdk-8.8/samples/vlvcntl.c:64:41: > Local attrs[2] initialized to null value: attrs[2] = 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-NLDAPsdk-8.8/samples/vlvcntl.c:96:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/vlvcntl.c:97:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/vlvcntl.c:112:10: > Operand of ! is non-boolean (int): !isVLVSupported(ld) > 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-NLDAPsdk-8.8/samples/vlvcntl.c:115:3: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/vlvcntl.c:116:22: > Fresh storage ld 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-NLDAPsdk-8.8/samples/vlvcntl.c:102:5: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/vlvcntl.c:121:12: > Format argument 1 to printf (%d) expects int gets unsigned long int: target > To ignore signs in type comparisons use +ignoresigns > novell-NLDAPsdk-8.8/samples/vlvcntl.c:120:29: Corresponding format code >novell-NLDAPsdk-8.8/samples/vlvcntl.c:121:20: > Format argument 2 to printf (%d) expects int gets unsigned long int: > before_count > To ignore signs in type comparisons use +ignoresigns > novell-NLDAPsdk-8.8/samples/vlvcntl.c:120:48: Corresponding format code >novell-NLDAPsdk-8.8/samples/vlvcntl.c:121:34: > Format argument 3 to printf (%d) expects int gets unsigned long int: > after_count > To ignore signs in type comparisons use +ignoresigns > novell-NLDAPsdk-8.8/samples/vlvcntl.c:120:67: Corresponding format code >novell-NLDAPsdk-8.8/samples/vlvcntl.c:122:52: > Format argument 1 to printf (%d) expects int gets unsigned long int: > total_count > To ignore signs in type comparisons use +ignoresigns > novell-NLDAPsdk-8.8/samples/vlvcntl.c:122:46: Corresponding format code >novell-NLDAPsdk-8.8/samples/vlvcntl.c:132:48: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/vlvcntl.c:133:23: > Fresh storage ld 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-NLDAPsdk-8.8/samples/vlvcntl.c:102:5: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/vlvcntl.c:142:54: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/vlvcntl.c:158:53: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/vlvcntl.c:181:52: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/vlvcntl.c:204:47: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/vlvcntl.c:223:47: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/vlvcntl.c:238:53: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/vlvcntl.c:241:9: > Variable err 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-NLDAPsdk-8.8/samples/vlvcntl.c:241:9: > Test expression for if not boolean, type int: err > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/vlvcntl.c:242:66: > Variable err1 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-NLDAPsdk-8.8/samples/vlvcntl.c:242:50: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string((int)err1) > 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-NLDAPsdk-8.8/samples/vlvcntl.c:258:52: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/vlvcntl.c:261:9: > Test expression for if not boolean, type int: err > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/vlvcntl.c:262:49: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(err) > 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-NLDAPsdk-8.8/samples/vlvcntl.c:266:49: > Format argument 1 to printf (%d) expects int gets unsigned long int: target > To ignore signs in type comparisons use +ignoresigns > novell-NLDAPsdk-8.8/samples/vlvcntl.c:266:43: Corresponding format code >novell-NLDAPsdk-8.8/samples/vlvcntl.c:267:50: > Format argument 1 to printf (%d) expects int gets unsigned long int: > total_count > To ignore signs in type comparisons use +ignoresigns > novell-NLDAPsdk-8.8/samples/vlvcntl.c:267:42: Corresponding format code >novell-NLDAPsdk-8.8/samples/vlvcntl.c:293:14: > Fresh storage values (type char **) not released before assignment: > values = ldap_get_values(ld, entry, "givenname") > 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-NLDAPsdk-8.8/samples/vlvcntl.c:286:14: Fresh storage values created >novell-NLDAPsdk-8.8/samples/vlvcntl.c:277:11: > Fresh storage entry (type LDAPMessage *) not released before assignment (in > post loop increment): entry = ldap_next_entry(ld, entry) > 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-NLDAPsdk-8.8/samples/vlvcntl.c:275:11: Fresh storage entry created >novell-NLDAPsdk-8.8/samples/vlvcntl.c:304:5: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/vlvcntl.c:309:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/vlvcntl.c:311:18: > Fresh storage ld 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-NLDAPsdk-8.8/samples/vlvcntl.c:102:5: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/vlvcntl.c:311:18: > Fresh storage dn 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-NLDAPsdk-8.8/samples/vlvcntl.c:279:9: Fresh storage dn created >novell-NLDAPsdk-8.8/samples/vlvcntl.c:311:18: > Fresh storage values 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-NLDAPsdk-8.8/samples/vlvcntl.c:293:14: Fresh storage values created >novell-NLDAPsdk-8.8/samples/vlvcntl.c: (in function isVLVSupported) >novell-NLDAPsdk-8.8/samples/vlvcntl.c:322:53: > Local attribs[1] initialized to null value: attribs[1] = 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-NLDAPsdk-8.8/samples/vlvcntl.c:331:43: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/vlvcntl.c:332:9: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/vlvcntl.c:333:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/vlvcntl.c:342:9: > No argument corresponding to printf format code 1 (%s): > "ldap_first_attribute returned no results.%s\n" > Types are incompatible. (Use -type to inhibit warning) > novell-NLDAPsdk-8.8/samples/vlvcntl.c:342:59: Corresponding format code >novell-NLDAPsdk-8.8/samples/vlvcntl.c:343:9: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/vlvcntl.c:344:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/vlvcntl.c:345:22: > Fresh storage entry 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-NLDAPsdk-8.8/samples/vlvcntl.c:337:5: Fresh storage entry created >novell-NLDAPsdk-8.8/samples/vlvcntl.c:364:5: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/vlvcntl.c:368:15: > Fresh storage attribute 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-NLDAPsdk-8.8/samples/vlvcntl.c:339:5: Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/vlvcntl.c:368:15: > Fresh storage values 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-NLDAPsdk-8.8/samples/vlvcntl.c:351:11: Fresh storage values created >novell-NLDAPsdk-8.8/samples/vlvcntl.c:368:15: > Fresh storage entry 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-NLDAPsdk-8.8/samples/vlvcntl.c:337:5: Fresh storage entry created >novell-NLDAPsdk-8.8/samples/vlvcntl.c:34:5: > Function exported but not used outside vlvcntl: isVLVSupported > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/vlvcntl.c:369:1: Definition of isVLVSupported > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/CheckBind.c ] >novell-NLDAPsdk-8.8/samples/CheckBind.c: (in function main) >novell-NLDAPsdk-8.8/samples/CheckBind.c:70:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:90:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/CheckBind.c:91:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/CheckBind.c:106:50: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/CheckBind.c:107:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/CheckBind.c:108:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/CheckBind.c:94:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/CheckBind.c:122:39: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/CheckBind.c:125:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/CheckBind.c:127:18: > Fresh storage ld 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-NLDAPsdk-8.8/samples/CheckBind.c:94:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/CheckBind.c: (in function checkBindRestrictions) >novell-NLDAPsdk-8.8/samples/CheckBind.c:152:32: > Local attrs[5] initialized to null value: attrs[5] = 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-NLDAPsdk-8.8/samples/CheckBind.c:154:5: > Variable timeOut 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-NLDAPsdk-8.8/samples/CheckBind.c:157:5: > Return value (type time_t) ignored: time(<ime) > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalother to inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:158:17: Unrecognized identifier: strdup > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:161:33: > Possibly null storage gmTime passed as non-null param: asctime (gmTime) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/samples/CheckBind.c:160:14: > Storage gmTime may become null >novell-NLDAPsdk-8.8/samples/CheckBind.c:208:23: > Variable searchResult 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-NLDAPsdk-8.8/samples/CheckBind.c:208:9: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/CheckBind.c:212:35: > Variable searchResult 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-NLDAPsdk-8.8/samples/CheckBind.c:215:55: > Variable ber used before definition (in post loop increment) > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:215:11: > Fresh storage attribute (type char *) not released before assignment: > attribute = ldap_next_attribute(ld, entry, ber) > 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-NLDAPsdk-8.8/samples/CheckBind.c:213:11: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/CheckBind.c:310:15: > Variable ber 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-NLDAPsdk-8.8/samples/CheckBind.c:311:5: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/CheckBind.c:313:15: > Fresh storage values 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-NLDAPsdk-8.8/samples/CheckBind.c:237:20: Fresh storage values created >novell-NLDAPsdk-8.8/samples/CheckBind.c:313:15: > Fresh storage berValue 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-NLDAPsdk-8.8/samples/CheckBind.c:218:13: > Fresh storage berValue created >novell-NLDAPsdk-8.8/samples/CheckBind.c:313:15: > Fresh storage entry 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-NLDAPsdk-8.8/samples/CheckBind.c:212:5: Fresh storage entry created >novell-NLDAPsdk-8.8/samples/CheckBind.c: (in function getTimeRestriction) >novell-NLDAPsdk-8.8/samples/CheckBind.c:339:18: > Assignment of int to unsigned char: temp = 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:339:42: > Assignment of int to unsigned char: temp = 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:340:14: > Test expression for if not boolean, type unsigned char: bytes[i] & 0x80 > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:342:14: > Test expression for if not boolean, type unsigned char: bytes[i] & 0x40 > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:344:14: > Test expression for if not boolean, type unsigned char: bytes[i] & 0x20 > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:346:14: > Test expression for if not boolean, type unsigned char: bytes[i] & 0x10 > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:348:14: > Test expression for if not boolean, type unsigned char: bytes[i] & 0x08 > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:350:14: > Test expression for if not boolean, type unsigned char: bytes[i] & 0x04 > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:352:14: > Test expression for if not boolean, type unsigned char: bytes[i] & 0x02 > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:354:14: > Test expression for if not boolean, type unsigned char: bytes[i] & 0x01 > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:376:14: > Test expression for if not boolean, type unsigned char: bytes[i - 1] & 0x01 > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:378:14: > Test expression for if not boolean, type unsigned char: bytes[i - 1] & 0x02 > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:384:10: > Test expression for if not boolean, type unsigned char: temp & 0x01 > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:387:10: > Operands of != have incompatible types (unsigned char, int): > (temp & 0x02) != 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:392:5: Return value (type int) ignored: > sscanf(localTime... > 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-NLDAPsdk-8.8/samples/CheckBind.c:393:5: Return value (type int) ignored: > sscanf(localTime... > 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-NLDAPsdk-8.8/samples/CheckBind.c:394:5: Return value (type int) ignored: > sscanf(localTime... > 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-NLDAPsdk-8.8/samples/CheckBind.c:412:15: > Variable day 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-NLDAPsdk-8.8/samples/CheckBind.c:415:34: > Right operand of << may be negative (int): 1 << (7 - index % 8) > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c:415:11: > Operand of ! is non-boolean (unsigned char): > !(bytes[index / 8] & 1 << (7 - index % 8)) > 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-NLDAPsdk-8.8/samples/CheckBind.c: (in function compareTime) >novell-NLDAPsdk-8.8/samples/CheckBind.c:430:5: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/samples/CheckBind.c: (in function printUTC) >novell-NLDAPsdk-8.8/samples/CheckBind.c:449:5: Return value (type int) ignored: > sscanf(utc, "%4d... > 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-NLDAPsdk-8.8/samples/CheckBind.c:457:17: > Passed storage UTC contains 2 undefined fields: tm_wday, tm_yday > 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-NLDAPsdk-8.8/samples/CheckBind.c:459:9: > Suspect modification of observer time[]: time[strlen(time) - 1] = '\0' > Storage declared with observer is possibly modified. Observer storage may not > be modified. (Use -modobserver to inhibit warning) > novell-NLDAPsdk-8.8/samples/CheckBind.c:458:16: > Storage time[] becomes observer >novell-NLDAPsdk-8.8/samples/CheckBind.c:58:6: > Function exported but not used outside CheckBind: checkBindRestrictions > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/CheckBind.c:314:1: > Definition of checkBindRestrictions >novell-NLDAPsdk-8.8/samples/CheckBind.c:59:6: > Function exported but not used outside CheckBind: getTimeRestriction > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/CheckBind.c:419:1: > Definition of getTimeRestriction >novell-NLDAPsdk-8.8/samples/CheckBind.c:60:6: > Function exported but not used outside CheckBind: compareTime > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/CheckBind.c:438:1: Definition of compareTime >novell-NLDAPsdk-8.8/samples/CheckBind.c:61:6: > Function exported but not used outside CheckBind: printUTC > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/CheckBind.c:462:1: Definition of printUTC > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/getdse.c ] >novell-NLDAPsdk-8.8/samples/getdse.c: (in function main) >novell-NLDAPsdk-8.8/samples/getdse.c:62:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/getdse.c:80:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/getdse.c:81:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/getdse.c:93:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/getdse.c:94:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/getdse.c:95:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/getdse.c:84:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/getdse.c:120:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/getdse.c:121:9: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/getdse.c:122:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/getdse.c:123:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/getdse.c:84:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/getdse.c:145:38: Unrecognized identifier: TOTAL_LEN > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/getdse.c:147:31: Unrecognized identifier: > namesandoids > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/getdse.c:149:12: > Test expression for if not boolean, type size_t: strlen(desc) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/getdse.c:157:33: > Variable desc 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-NLDAPsdk-8.8/samples/getdse.c:157:26: > Operand of ! is non-boolean (size_t): !strlen(desc) > 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-NLDAPsdk-8.8/samples/getdse.c:135:64: > Variable ber used before definition (in post loop increment) > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-NLDAPsdk-8.8/samples/getdse.c:135:13: > Fresh storage attrName (type char *) not released before assignment: > attrName = ldap_next_attribute(ld, searchResult, ber) > 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-NLDAPsdk-8.8/samples/getdse.c:133:13: Fresh storage attrName created >novell-NLDAPsdk-8.8/samples/getdse.c:169:14: > Variable ber 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-NLDAPsdk-8.8/samples/getdse.c:170:5: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/getdse.c:171:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/getdse.c:173:17: > Fresh storage values 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-NLDAPsdk-8.8/samples/getdse.c:136:15: Fresh storage values created >novell-NLDAPsdk-8.8/samples/getdse.c:173:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/getdse.c:84:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/getdse.c:173:17: > Fresh storage dse 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-NLDAPsdk-8.8/samples/getdse.c:128:5: Fresh storage dse created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/search.c ] >novell-NLDAPsdk-8.8/samples/search.c: (in function main) >novell-NLDAPsdk-8.8/samples/search.c:49:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/search.c:70:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/search.c:71:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/search.c:85:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/search.c:86:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/search.c:87:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/search.c:74:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/search.c:108:43: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/search.c:109:23: > Variable searchResult 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-NLDAPsdk-8.8/samples/search.c:109:9: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/search.c:110:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/search.c:111:22: > Fresh storage ld 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-NLDAPsdk-8.8/samples/search.c:74:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/search.c:115:5: Return value (type int) ignored: > ldap_sort_entrie... > 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-NLDAPsdk-8.8/samples/search.c:118:47: > Variable searchResult 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-NLDAPsdk-8.8/samples/search.c:130:61: > Variable ber used before definition (in post loop increment) > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-NLDAPsdk-8.8/samples/search.c:130:17: > Fresh storage attribute (type char *) not released before assignment: > attribute = ldap_next_attribute(ld, entry, ber) > 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-NLDAPsdk-8.8/samples/search.c:128:17: Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/search.c:142:18: > Variable ber 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-NLDAPsdk-8.8/samples/search.c:120:13: > Fresh storage entry (type LDAPMessage *) not released before assignment (in > post loop increment): entry = ldap_next_entry(ld, entry) > 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-NLDAPsdk-8.8/samples/search.c:118:13: Fresh storage entry created >novell-NLDAPsdk-8.8/samples/search.c:151:5: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/search.c:153:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/search.c:155:17: > Fresh storage attribute 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-NLDAPsdk-8.8/samples/search.c:128:17: Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/search.c:155:17: > Fresh storage dn 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-NLDAPsdk-8.8/samples/search.c:122:15: Fresh storage dn created >novell-NLDAPsdk-8.8/samples/search.c:155:17: > Fresh storage values 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-NLDAPsdk-8.8/samples/search.c:133:19: Fresh storage values created >novell-NLDAPsdk-8.8/samples/search.c:155:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/search.c:74:11: Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/sslbind.c ] >novell-NLDAPsdk-8.8/samples/sslbind.c: (in function main) >novell-NLDAPsdk-8.8/samples/sslbind.c:46:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/sslbind.c:55:5: Unrecognized identifier: LDAP > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/sslbind.c:55:21: Unrecognized identifier: ld > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/sslbind.c:55:5: Statement has no effect: LDAP * ld > Statement has no visible effect --- no values are modified. (Use -noeffect to > inhibit warning) >novell-NLDAPsdk-8.8/samples/sslbind.c:56:5: Unrecognized identifier: > LDAPMessage > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/sslbind.c:56:21: Unrecognized identifier: resultBuf > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/list.c ] >novell-NLDAPsdk-8.8/samples/list.c: (in function main) >novell-NLDAPsdk-8.8/samples/list.c:43:37: > Local attrs[1] initialized to null value: attrs[1] = 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-NLDAPsdk-8.8/samples/list.c:44:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/list.c:64:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/list.c:65:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/list.c:79:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/list.c:80:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/list.c:81:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/list.c:68:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/list.c:102:43: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/list.c:103:23: > Variable searchResult 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-NLDAPsdk-8.8/samples/list.c:103:9: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/list.c:104:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/list.c:105:22: > Fresh storage ld 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-NLDAPsdk-8.8/samples/list.c:68:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/list.c:109:47: > Variable searchResult 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-NLDAPsdk-8.8/samples/list.c:111:13: > Fresh storage entry (type LDAPMessage *) not released before assignment (in > post loop increment): entry = ldap_next_entry(ld, entry) > 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-NLDAPsdk-8.8/samples/list.c:109:13: Fresh storage entry created >novell-NLDAPsdk-8.8/samples/list.c:120:5: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/list.c:122:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/list.c:124:17: > Fresh storage dn 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-NLDAPsdk-8.8/samples/list.c:113:15: Fresh storage dn created >novell-NLDAPsdk-8.8/samples/list.c:124:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/list.c:68:11: Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/starttls.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/modpass.c ] >novell-NLDAPsdk-8.8/samples/modpass.c: (in function main) >novell-NLDAPsdk-8.8/samples/modpass.c:61:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/modpass.c:81:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/modpass.c:82:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/modpass.c:96:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/modpass.c:97:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modpass.c:98:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modpass.c:85:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/modpass.c:108:5: > Observer storage assigned to unqualified reference: > delmod.mod_type = "userPassword" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/modpass.c:108:23: Storage becomes observer >novell-NLDAPsdk-8.8/samples/modpass.c:115:5: > Observer storage assigned to unqualified reference: > addmod.mod_type = "userPassword" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/modpass.c:115:23: Storage becomes observer >novell-NLDAPsdk-8.8/samples/modpass.c:133:47: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/modpass.c:134:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modpass.c:135:19: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modpass.c:85:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/modpass.c:139:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modpass.c:141:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modpass.c:85:11: Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/utf8towc.c ] >novell-NLDAPsdk-8.8/samples/utf8towc.c:50:6: > Function main declared to return void, should return int > The function main does not match the expected type. (Use -maintype to inhibit > warning) >novell-NLDAPsdk-8.8/samples/utf8towc.c: (in function main) >novell-NLDAPsdk-8.8/samples/utf8towc.c:58:34: > Initial value of utchr_in[0] is type int, expects unsigned char: 0xE2 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/samples/utf8towc.c:58:40: > Initial value of utchr_in[1] is type int, expects unsigned char: 0x98 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/samples/utf8towc.c:58:46: > Initial value of utchr_in[2] is type int, expects unsigned char: 0xBA > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/samples/utf8towc.c:59:34: > Initial value of utstr_in[0] is type int, expects unsigned char: 0xE2 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/samples/utf8towc.c:59:40: > Initial value of utstr_in[1] is type int, expects unsigned char: 0x98 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/samples/utf8towc.c:59:46: > Initial value of utstr_in[2] is type int, expects unsigned char: 0xBA > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/samples/utf8towc.c:59:67: > Initial value of utstr_in[6] is type int, expects unsigned char: 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/utf8towc.c:59:71: > Additional initialization errors for utstr_in not reported >novell-NLDAPsdk-8.8/samples/utf8towc.c:70:6: > Format argument 1 to printf (%02X) expects unsigned int gets unsigned char: > utchr_in[0] > To make char and int types equivalent, use +charint. > novell-NLDAPsdk-8.8/samples/utf8towc.c:69:57: Corresponding format code >novell-NLDAPsdk-8.8/samples/utf8towc.c:70:19: > Format argument 2 to printf (%02X) expects unsigned int gets unsigned char: > utchr_in[1] > To make char and int types equivalent, use +charint. > novell-NLDAPsdk-8.8/samples/utf8towc.c:69:63: Corresponding format code >novell-NLDAPsdk-8.8/samples/utf8towc.c:70:32: > Format argument 3 to printf (%02X) expects unsigned int gets unsigned char: > utchr_in[2] > To make char and int types equivalent, use +charint. > novell-NLDAPsdk-8.8/samples/utf8towc.c:69:69: Corresponding format code >novell-NLDAPsdk-8.8/samples/utf8towc.c:71:64: > Format argument 2 to printf (%04X) expects unsigned int gets wchar_t: > wcchr_out > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. > novell-NLDAPsdk-8.8/samples/utf8towc.c:71:56: Corresponding format code >novell-NLDAPsdk-8.8/samples/utf8towc.c:71:64: > Variable wcchr_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-NLDAPsdk-8.8/samples/utf8towc.c:84:11: > Operands of < have incompatible types (int, size_t): i < sizeof((utstr_in)) > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/samples/utf8towc.c:85:20: > Format argument 1 to printf (%02X) expects unsigned int gets unsigned char: > utstr_in[i] > To make char and int types equivalent, use +charint. > novell-NLDAPsdk-8.8/samples/utf8towc.c:85:16: Corresponding format code >novell-NLDAPsdk-8.8/samples/utf8towc.c:88:20: > Format argument 1 to printf (%04X) expects unsigned int gets wchar_t: > wcstr_out[i] > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. > novell-NLDAPsdk-8.8/samples/utf8towc.c:88:16: Corresponding format code >novell-NLDAPsdk-8.8/samples/utf8towc.c:88:20: > Value wcstr_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-NLDAPsdk-8.8/samples/utf8towc.c:98:36: > Initial value of wcstr_in[1] is type char, expects wchar_t: 'a' > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/utf8towc.c:98:41: > Initial value of wcstr_in[2] is type char, expects wchar_t: 'b' > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/utf8towc.c:98:46: > Initial value of wcstr_in[3] is type char, expects wchar_t: 'c' > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/utf8towc.c:111:65: > Format argument 1 to printf (%04X) expects unsigned int gets wchar_t: wc_in > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. > novell-NLDAPsdk-8.8/samples/utf8towc.c:111:59: Corresponding format code >novell-NLDAPsdk-8.8/samples/utf8towc.c:114:20: > Format argument 1 to printf (%02X) expects unsigned int gets unsigned char: > utchr_out[i] > To make char and int types equivalent, use +charint. > novell-NLDAPsdk-8.8/samples/utf8towc.c:114:16: Corresponding format code >novell-NLDAPsdk-8.8/samples/utf8towc.c:114:20: > Value utchr_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-NLDAPsdk-8.8/samples/utf8towc.c:127:11: > Operands of < have incompatible types (int, arbitrary unsigned integral > type): i < sizeof((wcstr_in)) / sizeof(wchar_t) > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/samples/utf8towc.c:128:20: > Format argument 1 to printf (%04X) expects unsigned int gets wchar_t: > wcstr_in[i] > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. > novell-NLDAPsdk-8.8/samples/utf8towc.c:128:16: Corresponding format code >novell-NLDAPsdk-8.8/samples/utf8towc.c:131:20: > Format argument 1 to printf (%02X) expects unsigned int gets unsigned char: > utstr_out[i] > To make char and int types equivalent, use +charint. > novell-NLDAPsdk-8.8/samples/utf8towc.c:131:16: Corresponding format code >novell-NLDAPsdk-8.8/samples/utf8towc.c:131:20: > Value utstr_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) > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/searchPersist.c ] >novell-NLDAPsdk-8.8/samples/searchPersist.c: (in function main) >novell-NLDAPsdk-8.8/samples/searchPersist.c:57:31: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/searchPersist.c:85:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/searchPersist.c:86:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/searchPersist.c:100:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/searchPersist.c:101:9: > Return value (type int) ignored: ldap_unbind(ld) > 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-NLDAPsdk-8.8/samples/searchPersist.c:102:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/searchPersist.c:89:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/searchPersist.c:107:10: Unrecognized identifier: > ldap_create_persistentsearch_control > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchPersist.c:109:11: Unrecognized identifier: > LDAP_CHANGETYPE_ANY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchPersist.c:118:16: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/searchPersist.c:119:9: > Return value (type int) ignored: ldap_unbind(ld) > 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-NLDAPsdk-8.8/samples/searchPersist.c:120:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/searchPersist.c:89:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/searchPersist.c:124:19: > Variable psControl 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-NLDAPsdk-8.8/samples/searchPersist.c:128:5: > Observer storage assigned to unqualified reference: attrs[0] = "1.1" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/searchPersist.c:128:16: Storage becomes observer >novell-NLDAPsdk-8.8/samples/searchPersist.c:149:41: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/searchPersist.c:150:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/searchPersist.c:151:22: > Fresh storage ld 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-NLDAPsdk-8.8/samples/searchPersist.c:89:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/searchPersist.c:174:31: > Variable msgid 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-NLDAPsdk-8.8/samples/searchPersist.c:178:13: > Return value (type int) ignored: ldap_get_option(... > 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-NLDAPsdk-8.8/samples/searchPersist.c:179:58: > Variable errorCode 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-NLDAPsdk-8.8/samples/searchPersist.c:179:41: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(errorCode) > 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-NLDAPsdk-8.8/samples/searchPersist.c:181:17: > Return value (type int) ignored: ldap_msgfree(result) > 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-NLDAPsdk-8.8/samples/searchPersist.c:187:17: > Return value (type int) ignored: ldap_msgfree(result) > 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-NLDAPsdk-8.8/samples/searchPersist.c:194:21: > Return value (type int) ignored: ldap_msgfree(result) > 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-NLDAPsdk-8.8/samples/searchPersist.c:215:30: Unrecognized identifier: > ldap_parse_entrychange_control > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchPersist.c:215:30: > Variable ecControls 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-NLDAPsdk-8.8/samples/searchPersist.c:219:49: > Variable chgtype 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-NLDAPsdk-8.8/samples/searchPersist.c:219:28: > New fresh storage (type char *) passed as implicitly temp (not released): > getChangeTypeString(chgtype) > 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-NLDAPsdk-8.8/samples/searchPersist.c:220:26: > Variable prevdn 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-NLDAPsdk-8.8/samples/searchPersist.c:225:26: > Variable chgnumpresent 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-NLDAPsdk-8.8/samples/searchPersist.c:225:26: > Test expression for if not boolean, type int: chgnumpresent > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchPersist.c:227:54: > Format argument 1 to printf (%d) expects int gets long int: chgnum > To ignore type qualifiers in type comparisons use +ignorequals. > novell-NLDAPsdk-8.8/samples/searchPersist.c:227:48: > Corresponding format code >novell-NLDAPsdk-8.8/samples/searchPersist.c:227:54: > Variable chgnum 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-NLDAPsdk-8.8/samples/searchPersist.c:233:17: > Return value (type int) ignored: ldap_msgfree(result) > 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-NLDAPsdk-8.8/samples/searchPersist.c:250:22: > Variable errorCode 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-NLDAPsdk-8.8/samples/searchPersist.c:275:48: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/searchPersist.c:279:5: > Return value (type int) ignored: ldap_unbind(ld) > 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-NLDAPsdk-8.8/samples/searchPersist.c:281:17: > Fresh storage dn 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-NLDAPsdk-8.8/samples/searchPersist.c:201:19: Fresh storage dn created >novell-NLDAPsdk-8.8/samples/searchPersist.c:281:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/searchPersist.c:89:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/searchPersist.c:281:17: > Fresh storage entry 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-NLDAPsdk-8.8/samples/searchPersist.c:191:19: > Fresh storage entry created >novell-NLDAPsdk-8.8/samples/searchPersist.c: (in function getChangeTypeString) >novell-NLDAPsdk-8.8/samples/searchPersist.c:297:9: Unrecognized identifier: > LDAP_CHANGETYPE_ADD > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchPersist.c:298:9: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/samples/searchPersist.c:299:14: Unrecognized identifier: > LDAP_CHANGETYPE_DELETE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchPersist.c:300:9: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/samples/searchPersist.c:301:14: Unrecognized identifier: > LDAP_CHANGETYPE_MODIFY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchPersist.c:302:9: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/samples/searchPersist.c:303:14: Unrecognized identifier: > LDAP_CHANGETYPE_MODDN > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchPersist.c:304:9: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/samples/searchPersist.c:306:9: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/samples/searchPersist.c:308:12: > Unqualified static storage buffer returned as implicitly only: buffer > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/addentry.c ] >novell-NLDAPsdk-8.8/samples/addentry.c: (in function main) >novell-NLDAPsdk-8.8/samples/addentry.c:48:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/addentry.c:68:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/addentry.c:69:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/addentry.c:83:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/addentry.c:84:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/addentry.c:85:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/addentry.c:72:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/addentry.c:97:5: > Observer storage assigned to unqualified reference: > modClass.mod_type = "objectclass" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:97:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:98:5: > Observer storage assigned to unqualified reference: vclass[0] = "top" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:98:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:99:5: > Observer storage assigned to unqualified reference: vclass[1] = "person" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:99:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:100:5: > Observer storage assigned to unqualified reference: > vclass[2] = "organizationalPerson" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:100:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:101:5: > Observer storage assigned to unqualified reference: > vclass[3] = "inetOrgPerson" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:101:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:106:5: > Observer storage assigned to unqualified reference: modCN.mod_type = "cn" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:106:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:107:5: > Observer storage assigned to unqualified reference: vcn[0] = "james" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:107:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:108:5: > Observer storage assigned to unqualified reference: vcn[1] = "James Smith" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:108:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:109:5: > Observer storage assigned to unqualified reference: vcn[2] = "Jimmy Smith" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:109:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:114:5: > Observer storage assigned to unqualified reference: > modGN.mod_type = "givenname" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:114:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:115:5: > Observer storage assigned to unqualified reference: vgn[0] = "James" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:115:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:116:5: > Observer storage assigned to unqualified reference: vgn[1] = "Jim" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:116:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:117:5: > Observer storage assigned to unqualified reference: vgn[2] = "Jimmy" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:117:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:122:5: > Observer storage assigned to unqualified reference: modSN.mod_type = "sn" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:122:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:123:5: > Observer storage assigned to unqualified reference: vsn[0] = "Smith" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:123:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:128:5: > Observer storage assigned to unqualified reference: > modPhone.mod_type = "telephonenumber" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:128:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:129:5: > Observer storage assigned to unqualified reference: > vphone[0] = "1 801 555 1212" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:129:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:134:5: > Observer storage assigned to unqualified reference: > modMail.mod_type = "mail" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:134:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:135:5: > Observer storage assigned to unqualified reference: > vmail[0] = "JSmith@Acme.com" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:135:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:144:5: > Observer storage assigned to unqualified reference: > modPass.mod_type = "userPassword" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:144:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:145:5: > Observer storage assigned to unqualified reference: > vpass[0] = "newpassword" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:145:31: Storage becomes observer >novell-NLDAPsdk-8.8/samples/addentry.c:162:13: > Possibly null storage dn passed as non-null param: strcpy (dn, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/samples/addentry.c:161:8: Storage dn may become null >novell-NLDAPsdk-8.8/samples/addentry.c:176:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/addentry.c:178:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/addentry.c:179:19: > Fresh storage ld 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-NLDAPsdk-8.8/samples/addentry.c:72:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/addentry.c:185:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/addentry.c:187:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/addentry.c:72:11: Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/searchBinary.c ] >novell-NLDAPsdk-8.8/samples/searchBinary.c: (in function main) >novell-NLDAPsdk-8.8/samples/searchBinary.c:55:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/searchBinary.c:75:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/searchBinary.c:76:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/searchBinary.c:90:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/searchBinary.c:91:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/searchBinary.c:92:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/searchBinary.c:79:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/searchBinary.c:113:43: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/searchBinary.c:114:23: > Variable searchResult 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-NLDAPsdk-8.8/samples/searchBinary.c:114:9: > Return value (type int) ignored: ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/searchBinary.c:115:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/searchBinary.c:116:22: > Fresh storage ld 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-NLDAPsdk-8.8/samples/searchBinary.c:79:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/searchBinary.c:121:5: > Return value (type int) ignored: ldap_sort_entrie... > 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-NLDAPsdk-8.8/samples/searchBinary.c:127:47: > Variable searchResult 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-NLDAPsdk-8.8/samples/searchBinary.c:148:25: > Test expression for if not boolean, type int: > value_is_printable(bvalues[i]) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchBinary.c:139:61: > Variable ber used before definition (in post loop increment) > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-NLDAPsdk-8.8/samples/searchBinary.c:139:17: > Fresh storage attribute (type char *) not released before assignment: > attribute = ldap_next_attribute(ld, entry, ber) > 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-NLDAPsdk-8.8/samples/searchBinary.c:137:17: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/searchBinary.c:159:18: > Variable ber 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-NLDAPsdk-8.8/samples/searchBinary.c:129:13: > Fresh storage entry (type LDAPMessage *) not released before assignment (in > post loop increment): entry = ldap_next_entry(ld, entry) > 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-NLDAPsdk-8.8/samples/searchBinary.c:127:13: > Fresh storage entry created >novell-NLDAPsdk-8.8/samples/searchBinary.c:165:5: > Return value (type int) ignored: ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/searchBinary.c:167:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/searchBinary.c:169:17: > Fresh storage attribute 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-NLDAPsdk-8.8/samples/searchBinary.c:137:17: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/searchBinary.c:169:17: > Fresh storage dn 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-NLDAPsdk-8.8/samples/searchBinary.c:131:15: Fresh storage dn created >novell-NLDAPsdk-8.8/samples/searchBinary.c:169:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/searchBinary.c:79:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/searchBinary.c:169:17: > Fresh storage bvalues 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-NLDAPsdk-8.8/samples/searchBinary.c:142:18: > Fresh storage bvalues created >novell-NLDAPsdk-8.8/samples/searchBinary.c: (in function value_is_printable) >novell-NLDAPsdk-8.8/samples/searchBinary.c:179:16: > Operands of < have incompatible types (unsigned int, ber_len_t): > i < bval->bv_len > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/searchBinary.c: (in function binary_print) >novell-NLDAPsdk-8.8/samples/searchBinary.c:206:9: > Test expression for if not boolean, type int: len % 16 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchBinary.c:218:13: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/samples/searchBinary.c:218:37: > Format argument 1 to sprintf (%.2X) expects unsigned int gets unsigned > char: buf[m] > To make char and int types equivalent, use +charint. > novell-NLDAPsdk-8.8/samples/searchBinary.c:218:32: Corresponding format code >novell-NLDAPsdk-8.8/samples/searchBinary.c:220:16: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/samples/searchBinary.c:222:16: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/samples/searchBinary.c:227:13: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/samples/searchBinary.c:228:13: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/samples/searchBinary.c:42:6: > Function exported but not used outside searchBinary: value_is_printable > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/searchBinary.c:186:1: > Definition of value_is_printable >novell-NLDAPsdk-8.8/samples/searchBinary.c:43:6: > Function exported but not used outside searchBinary: binary_print > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/searchBinary.c:235:1: Definition of binary_print > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/renamerdn.c ] >novell-NLDAPsdk-8.8/samples/renamerdn.c: (in function main) >novell-NLDAPsdk-8.8/samples/renamerdn.c:46:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/renamerdn.c:69:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/renamerdn.c:70:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/renamerdn.c:84:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/renamerdn.c:85:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/renamerdn.c:86:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/renamerdn.c:73:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/renamerdn.c:105:39: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/renamerdn.c:106:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/renamerdn.c:107:19: > Fresh storage ld 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-NLDAPsdk-8.8/samples/renamerdn.c:73:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/renamerdn.c:111:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/renamerdn.c:113:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/renamerdn.c:73:11: Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/multiSort.c ] >novell-NLDAPsdk-8.8/samples/multiSort.c: (in function main) >novell-NLDAPsdk-8.8/samples/multiSort.c:57:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/multiSort.c:82:13: > Index of possibly null pointer sortAttrs: sortAttrs > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/samples/multiSort.c:80:21: > Storage sortAttrs may become null >novell-NLDAPsdk-8.8/samples/multiSort.c:84:9: > Index of possibly null pointer sortAttrs: sortAttrs > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/samples/multiSort.c:80:21: > Storage sortAttrs may become null >novell-NLDAPsdk-8.8/samples/multiSort.c:89:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/multiSort.c:90:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/multiSort.c:105:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/multiSort.c:126:43: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/multiSort.c:127:23: > Variable searchResult 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-NLDAPsdk-8.8/samples/multiSort.c:127:9: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/multiSort.c:139:10: Unrecognized identifier: > ldap_multisort_entries > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/multiSort.c:142:48: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/multiSort.c:147:47: > Variable searchResult 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-NLDAPsdk-8.8/samples/multiSort.c:159:61: > Variable ber used before definition (in post loop increment) > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-NLDAPsdk-8.8/samples/multiSort.c:159:17: > Fresh storage attribute (type char *) not released before assignment: > attribute = ldap_next_attribute(ld, entry, ber) > 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-NLDAPsdk-8.8/samples/multiSort.c:157:17: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/multiSort.c:171:18: > Variable ber 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-NLDAPsdk-8.8/samples/multiSort.c:149:13: > Fresh storage entry (type LDAPMessage *) not released before assignment (in > post loop increment): entry = ldap_next_entry(ld, entry) > 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-NLDAPsdk-8.8/samples/multiSort.c:147:13: Fresh storage entry created >novell-NLDAPsdk-8.8/samples/multiSort.c:180:5: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/multiSort.c:184:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/multiSort.c:185:18: > Fresh storage attribute 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-NLDAPsdk-8.8/samples/multiSort.c:157:17: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/multiSort.c:185:18: > Fresh storage dn 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-NLDAPsdk-8.8/samples/multiSort.c:151:15: Fresh storage dn created >novell-NLDAPsdk-8.8/samples/multiSort.c:185:18: > Fresh storage values 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-NLDAPsdk-8.8/samples/multiSort.c:162:19: Fresh storage values created >novell-NLDAPsdk-8.8/samples/multiSort.c:185:18: > Fresh storage ld 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-NLDAPsdk-8.8/samples/multiSort.c:93:11: Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/gssbind.c ] >novell-NLDAPsdk-8.8/samples/gssbind.c: (in function main) >novell-NLDAPsdk-8.8/samples/gssbind.c:51:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/gssbind.c:52:18: Unrecognized identifier: > gss_err_code > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/searchAsynch.c ] >novell-NLDAPsdk-8.8/samples/searchAsynch.c: (in function main) >novell-NLDAPsdk-8.8/samples/searchAsynch.c:51:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/searchAsynch.c:71:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/searchAsynch.c:72:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/searchAsynch.c:86:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/searchAsynch.c:87:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/searchAsynch.c:88:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/searchAsynch.c:75:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/searchAsynch.c:107:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/searchAsynch.c:108:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/searchAsynch.c:109:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/searchAsynch.c:75:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/searchAsynch.c:114:14: > Operand of ! is non-boolean (int): !done > 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-NLDAPsdk-8.8/samples/searchAsynch.c:126:13: > Return value (type int) ignored: ldap_get_option(... > 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-NLDAPsdk-8.8/samples/searchAsynch.c:128:38: > Variable errorCode 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-NLDAPsdk-8.8/samples/searchAsynch.c:128:21: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(errorCode) > 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-NLDAPsdk-8.8/samples/searchAsynch.c:129:13: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/searchAsynch.c:130:25: > Fresh storage ld 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-NLDAPsdk-8.8/samples/searchAsynch.c:75:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/searchAsynch.c:135:13: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/searchAsynch.c:136:23: > Fresh storage ld 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-NLDAPsdk-8.8/samples/searchAsynch.c:75:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/searchAsynch.c:142:41: > Variable searchResult 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-NLDAPsdk-8.8/samples/searchAsynch.c:151:64: > Variable ber used before definition (in post loop increment) > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-NLDAPsdk-8.8/samples/searchAsynch.c:151:21: > Fresh storage attribute (type char *) not released before assignment: > attribute = ldap_next_attribute(ld, entry, ber) > 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-NLDAPsdk-8.8/samples/searchAsynch.c:149:21: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/searchAsynch.c:165:22: > Variable ber 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-NLDAPsdk-8.8/samples/searchAsynch.c:166:13: > Return value (type int) ignored: ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/searchAsynch.c:174:37: > Variable searchResult 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-NLDAPsdk-8.8/samples/searchAsynch.c:185:69: > Variable errorCode 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-NLDAPsdk-8.8/samples/searchAsynch.c:185:53: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(errorCode) > 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-NLDAPsdk-8.8/samples/searchAsynch.c:187:18: > Variable matchedDN 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-NLDAPsdk-8.8/samples/searchAsynch.c:187:39: > Operands of != have incompatible types (char, int): *matchedDN != 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/searchAsynch.c:201:15: > Operand of ! is non-boolean (int): !done > 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-NLDAPsdk-8.8/samples/searchAsynch.c:209:19: > Variable matchedDN 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-NLDAPsdk-8.8/samples/searchAsynch.c:211:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/searchAsynch.c:213:17: > Fresh storage attribute 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-NLDAPsdk-8.8/samples/searchAsynch.c:149:21: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/searchAsynch.c:213:17: > Fresh storage dn 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-NLDAPsdk-8.8/samples/searchAsynch.c:142:19: Fresh storage dn created >novell-NLDAPsdk-8.8/samples/searchAsynch.c:213:17: > Fresh storage values 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-NLDAPsdk-8.8/samples/searchAsynch.c:154:23: > Fresh storage values created >novell-NLDAPsdk-8.8/samples/searchAsynch.c:213:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/searchAsynch.c:75:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/searchAsynch.c:213:17: > Fresh storage entry 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-NLDAPsdk-8.8/samples/searchAsynch.c:148:13: > Fresh storage entry created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/connpool.c ] >novell-NLDAPsdk-8.8/samples/connpool.c: (in function main) >novell-NLDAPsdk-8.8/samples/connpool.c:61:25: > Initializer block used for tv where struct timeval is expected: { 5, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/connpool.c:85:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/connpool.c:86:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/connpool.c:89:30: > Function calloc expects arg 1 to be size_t gets int: testConns > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/samples/connpool.c:103:13: > Null storage passed as non-null param: cpoolCreate (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/samples/connpool.c:104:13: > Passed storage &pool not completely defined: cpoolCreate (..., &pool) > 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-NLDAPsdk-8.8/samples/connpool.c:107:12: > Format argument 1 to printf (%x) expects unsigned int gets > LDAPConnectionPool *: pool > Type of parameter is not consistent with corresponding code in format string. > (Use -formattype to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:106:36: Corresponding format code >novell-NLDAPsdk-8.8/samples/connpool.c:107:22: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/connpool.c:126:13: > Null storage passed as non-null param: cpoolAddHost (..., NULL) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/samples/connpool.c:128:47: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/connpool.c:136:19: > Format argument 2 to printf (%x) expects unsigned int gets LDAP *: > ldArray[i] > Type of parameter is not consistent with corresponding code in format string. > (Use -formattype to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:135:38: Corresponding format code >novell-NLDAPsdk-8.8/samples/connpool.c:136:35: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/connpool.c:143:67: > Format argument 1 to printf (%x) expects unsigned int gets LDAP *: > ldArray[0] > Type of parameter is not consistent with corresponding code in format string. > (Use -formattype to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:143:58: Corresponding format code >novell-NLDAPsdk-8.8/samples/connpool.c:145:9: > Test expression for if not boolean, type int: rc > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/connpool.c:146:56: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/connpool.c:149:16: > Format argument 1 to printf (%x) expects unsigned int gets LDAP *: > ldArray[0] > Type of parameter is not consistent with corresponding code in format string. > (Use -formattype to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:148:33: Corresponding format code >novell-NLDAPsdk-8.8/samples/connpool.c:149:28: > Format argument 2 to printf (%x) expects unsigned int gets LDAPHostPool *: > badHostPool > Type of parameter is not consistent with corresponding code in format string. > (Use -formattype to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:148:61: Corresponding format code >novell-NLDAPsdk-8.8/samples/connpool.c:149:41: > Null storage badHostName passed as non-null param: > printf (..., badHostName, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:64:23: > Storage badHostName becomes null >novell-NLDAPsdk-8.8/samples/connpool.c:159:9: > Test expression for if not boolean, type int: rc > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/connpool.c:161:20: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/connpool.c:166:19: > Format argument 2 to printf (%x) expects unsigned int gets LDAP *: > ldArray[0] > Type of parameter is not consistent with corresponding code in format string. > (Use -formattype to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:164:90: Corresponding format code >novell-NLDAPsdk-8.8/samples/connpool.c:166:35: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/connpool.c:173:51: > Format argument 1 to printf (%x) expects unsigned int gets LDAPHostPool *: > badHostPool > Type of parameter is not consistent with corresponding code in format string. > (Use -formattype to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:173:37: Corresponding format code >novell-NLDAPsdk-8.8/samples/connpool.c:173:64: > Null storage badHostName passed as non-null param: > printf (..., badHostName, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:64:23: > Storage badHostName becomes null >novell-NLDAPsdk-8.8/samples/connpool.c:174:33: > Null storage badHostPool passed as non-null param: > cpoolDisableHost (..., badHostPool) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:63:31: > Storage badHostPool becomes null >novell-NLDAPsdk-8.8/samples/connpool.c:175:9: > Test expression for if not boolean, type int: rc > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/connpool.c:176:60: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/connpool.c:191:19: > Format argument 2 to printf (%x) expects unsigned int gets LDAP *: > ldArray[i] > Type of parameter is not consistent with corresponding code in format string. > (Use -formattype to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:190:47: Corresponding format code >novell-NLDAPsdk-8.8/samples/connpool.c:191:35: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/connpool.c:197:54: > Format argument 1 to printf (%x) expects unsigned int gets LDAPHostPool *: > badHostPool > Type of parameter is not consistent with corresponding code in format string. > (Use -formattype to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:197:40: Corresponding format code >novell-NLDAPsdk-8.8/samples/connpool.c:199:53: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/connpool.c: (in function cpoolCreate) >novell-NLDAPsdk-8.8/samples/connpool.c:372:21: > Function returns with null storage derivable from parameter *poolHandle > 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-NLDAPsdk-8.8/samples/connpool.c:370:19: > Storage *poolHandle becomes null >novell-NLDAPsdk-8.8/samples/connpool.c:406:15: > Fresh storage pool 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-NLDAPsdk-8.8/samples/connpool.c:376:5: Fresh storage pool created >novell-NLDAPsdk-8.8/samples/connpool.c: (in function cpoolAddHost) >novell-NLDAPsdk-8.8/samples/connpool.c:460:18: > Only storage *(pool->hp)->host (type char *) derived from released storage > is not released (memory leak): pool->hp > 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-NLDAPsdk-8.8/samples/connpool.c:460:18: > Only storage *(pool->hp)->loginDN (type char *) derived from released > storage is not released (memory leak): pool->hp > 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-NLDAPsdk-8.8/samples/connpool.c:460:18: > Only storage *(pool->hp)->password (type char *) derived from released > storage is not released (memory leak): pool->hp > 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-NLDAPsdk-8.8/samples/connpool.c:460:18: > Only storage *(pool->hp)->bindCallback (type BIND_CALLBACK *) derived from > released storage is not released (memory leak): pool->hp > 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-NLDAPsdk-8.8/samples/connpool.c:460:18: > Only storage *(pool->hp)->ld (type LDAP **) derived from released storage > is not released (memory leak): pool->hp > 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-NLDAPsdk-8.8/samples/connpool.c:460:18: > Only storage *(pool->hp)->status (type int *) derived from released storage > is not released (memory leak): pool->hp > 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-NLDAPsdk-8.8/samples/connpool.c:475:25: > Operands of == have incompatible types (char, int): *host == 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/connpool.c:476:9: > Clauses exit with host referencing unqualified static storage in true > branch, implicitly temp 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-NLDAPsdk-8.8/samples/connpool.c:476:9: Storage host becomes static >novell-NLDAPsdk-8.8/samples/connpool.c:477:16: Unrecognized identifier: strdup > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/connpool.c:477:5: > Implicitly only storage hp->host (type char *) not released before > assignment: hp->host = strdup(host) > 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-NLDAPsdk-8.8/samples/connpool.c:492:9: > Implicitly only storage hp->loginDN (type char *) not released before > assignment: hp->loginDN = strdup(loginDN) > 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-NLDAPsdk-8.8/samples/connpool.c:497:9: > Implicitly only storage hp->password (type char *) not released before > assignment: hp->password = strdup(password) > 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-NLDAPsdk-8.8/samples/connpool.c:501:5: > Implicitly only storage hp->bindCallback (type BIND_CALLBACK *) not > released before assignment: hp->bindCallback = bindCallback > 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-NLDAPsdk-8.8/samples/connpool.c:501:5: > Implicitly temp storage bindCallback assigned to implicitly only: > hp->bindCallback = bindCallback > 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-NLDAPsdk-8.8/samples/connpool.c:504:30: > Function calloc expects arg 1 to be size_t gets int: pool->maxConns > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/samples/connpool.c:504:5: > Implicitly only storage hp->ld (type LDAP **) not released before > assignment: hp->ld = (LDAP **)calloc(pool->maxConns, sizeof(LDAP *)) > 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-NLDAPsdk-8.8/samples/connpool.c:509:32: > Function calloc expects arg 1 to be size_t gets int: pool->maxConns > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/samples/connpool.c:509:5: > Implicitly only storage hp->status (type int *) not released before > assignment: hp->status = (int *)calloc(pool->maxConns, sizeof(int)) > 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-NLDAPsdk-8.8/samples/connpool.c:523:46: > Possibly null storage loginDN passed as non-null param: > (*bindCallback) (..., loginDN, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/samples/connpool.c:523:55: > Possibly null storage password passed as non-null param: > (*bindCallback) (..., password, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/samples/connpool.c:523:65: > Passed storage &ld not completely defined: (*bindCallback) (..., &ld) > 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-NLDAPsdk-8.8/samples/connpool.c:536:17: Return value (type int) ignored: > ldap_unbind(ld) > 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-NLDAPsdk-8.8/samples/connpool.c:539:9: > Clauses exit with ld referencing local storage in true branch, fresh > storage in false branch > 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-NLDAPsdk-8.8/samples/connpool.c:529:13: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/connpool.c:548:5: Return value (type int) ignored: > CP_mutex_unlock(... > 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-NLDAPsdk-8.8/samples/connpool.c:549:17: > Owned storage hp 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-NLDAPsdk-8.8/samples/connpool.c:471:5: Storage hp becomes owned >novell-NLDAPsdk-8.8/samples/connpool.c:549:17: > Storage pool->hp reachable from parameter is kept (should be implicitly > only) > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:463:5: Storage pool->hp becomes kept >novell-NLDAPsdk-8.8/samples/connpool.c:553:5: Return value (type int) ignored: > cpoolRemoveHost(... > 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-NLDAPsdk-8.8/samples/connpool.c:554:5: Return value (type int) ignored: > CP_mutex_unlock(... > 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-NLDAPsdk-8.8/samples/connpool.c:555:15: > Storage pool->hp reachable from parameter is kept (should be implicitly > only) > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:463:5: Storage pool->hp becomes kept >novell-NLDAPsdk-8.8/samples/connpool.c: (in function cpoolRemoveHost) >novell-NLDAPsdk-8.8/samples/connpool.c:598:9: Return value (type int) ignored: > CP_mutex_unlock(... > 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-NLDAPsdk-8.8/samples/connpool.c:607:13: Return value (type int) ignored: > ldap_unbind(hp->... > 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-NLDAPsdk-8.8/samples/connpool.c:616:10: > Implicitly temp storage hp passed as only param: free (hp) > 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-NLDAPsdk-8.8/samples/connpool.c:625:5: Return value (type int) ignored: > CP_mutex_unlock(... > 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-NLDAPsdk-8.8/samples/connpool.c: (in function cpoolGetConnection) >novell-NLDAPsdk-8.8/samples/connpool.c:668:21: > Function returns with null storage derivable from parameter *pld > 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-NLDAPsdk-8.8/samples/connpool.c:665:12: Storage *pld becomes null >novell-NLDAPsdk-8.8/samples/connpool.c:697:17: > Test expression for if not boolean, type int: pool->hp[i]->disabled > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/connpool.c:740:17: Return value (type int) ignored: > CP_mutex_unlock(... > 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-NLDAPsdk-8.8/samples/connpool.c:763:17: Return value (type int) ignored: > CP_mutex_unlock(... > 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-NLDAPsdk-8.8/samples/connpool.c:771:48: > Passed storage &ld not completely defined: (*(hp->bindCallback)) (..., &ld) > 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-NLDAPsdk-8.8/samples/connpool.c:784:25: Return value (type int) ignored: > ldap_unbind(ld) > 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-NLDAPsdk-8.8/samples/connpool.c:787:17: > Clauses exit with ld referencing local storage in true branch, fresh > storage in false branch > 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-NLDAPsdk-8.8/samples/connpool.c:777:21: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/connpool.c:803:9: > Test expression for if not boolean, type int: bind_in_progress > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/connpool.c:804:9: Return value (type int) ignored: > CP_mutex_lock(&p... > 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-NLDAPsdk-8.8/samples/connpool.c:805:20: > Variable i 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-NLDAPsdk-8.8/samples/connpool.c:810:5: Return value (type int) ignored: > CP_mutex_unlock(... > 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-NLDAPsdk-8.8/samples/connpool.c: (in function cpoolReturnConnection) >novell-NLDAPsdk-8.8/samples/connpool.c:872:17: Return value (type int) ignored: > CP_mutex_unlock(... > 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-NLDAPsdk-8.8/samples/connpool.c:879:5: Return value (type int) ignored: > CP_mutex_unlock(... > 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-NLDAPsdk-8.8/samples/connpool.c: (in function cpoolResetBadConnection) >novell-NLDAPsdk-8.8/samples/connpool.c:926:21: Return value (type int) ignored: > ldap_unbind(hp->... > 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-NLDAPsdk-8.8/samples/connpool.c:934:17: Return value (type int) ignored: > CP_mutex_unlock(... > 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-NLDAPsdk-8.8/samples/connpool.c:941:5: Return value (type int) ignored: > CP_mutex_unlock(... > 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-NLDAPsdk-8.8/samples/connpool.c: (in function cpoolGetHost) >novell-NLDAPsdk-8.8/samples/connpool.c:988:21: > Only storage hp->host assigned to unqualified: *hostname = hp->host > 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-NLDAPsdk-8.8/samples/connpool.c:989:17: Return value (type int) ignored: > CP_mutex_unlock(... > 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-NLDAPsdk-8.8/samples/connpool.c:996:5: Return value (type int) ignored: > CP_mutex_unlock(... > 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-NLDAPsdk-8.8/samples/connpool.c: (in function cpoolEnableHost) >novell-NLDAPsdk-8.8/samples/connpool.c:1027:5: Return value (type int) ignored: > CP_mutex_unlock(... > 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-NLDAPsdk-8.8/samples/connpool.c: (in function cpoolDisableHost) >novell-NLDAPsdk-8.8/samples/connpool.c:1061:5: Return value (type int) ignored: > CP_mutex_unlock(... > 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-NLDAPsdk-8.8/samples/connpool.c: (in function cpoolDestroy) >novell-NLDAPsdk-8.8/samples/connpool.c:1089:9: Return value (type int) ignored: > cpoolRemoveHost(... > 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-NLDAPsdk-8.8/samples/connpool.c:1094:5: Return value (type int) ignored: > CP_mutex_destroy... > 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-NLDAPsdk-8.8/samples/connpool.c:1096:10: > Implicitly temp storage pool passed as only param: free (pool) > 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-NLDAPsdk-8.8/samples/connpool.c: (in function lockAndValidatePool) >novell-NLDAPsdk-8.8/samples/connpool.c:1111:5: Return value (type int) ignored: > CP_mutex_lock(&p... > 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-NLDAPsdk-8.8/samples/connpool.c:1114:9: Return value (type int) ignored: > CP_mutex_unlock(... > 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-NLDAPsdk-8.8/samples/connpool.c: (in function CP_mutex_init) >novell-NLDAPsdk-8.8/samples/connpool.c:1226:30: Parameter mutex 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-NLDAPsdk-8.8/samples/connpool.c: (in function CP_mutex_lock) >novell-NLDAPsdk-8.8/samples/connpool.c:1227:30: Parameter mutex 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-NLDAPsdk-8.8/samples/connpool.c: (in function CP_mutex_unlock) >novell-NLDAPsdk-8.8/samples/connpool.c:1228:32: Parameter mutex 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-NLDAPsdk-8.8/samples/connpool.c: (in function CP_mutex_destroy) >novell-NLDAPsdk-8.8/samples/connpool.c:1229:33: Parameter mutex 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-NLDAPsdk-8.8/samples/connpool.h:65:5: > Function exported but not used outside connpool: CP_mutex_init > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:1226:49: Definition of CP_mutex_init >novell-NLDAPsdk-8.8/samples/connpool.h:66:5: > Function exported but not used outside connpool: CP_mutex_lock > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:1227:49: Definition of CP_mutex_lock >novell-NLDAPsdk-8.8/samples/connpool.h:67:5: > Function exported but not used outside connpool: CP_mutex_unlock > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:1228:52: > Definition of CP_mutex_unlock >novell-NLDAPsdk-8.8/samples/connpool.h:68:5: > Function exported but not used outside connpool: CP_mutex_destroy > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:1229:52: > Definition of CP_mutex_destroy >novell-NLDAPsdk-8.8/samples/connpool.h:114:5: > Function exported but not used outside connpool: cpoolCreate > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:407:1: Definition of cpoolCreate >novell-NLDAPsdk-8.8/samples/connpool.h:125:5: > Function exported but not used outside connpool: cpoolAddHost > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:556:1: Definition of cpoolAddHost >novell-NLDAPsdk-8.8/samples/connpool.h:134:5: > Function exported but not used outside connpool: cpoolRemoveHost > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:627:1: Definition of cpoolRemoveHost >novell-NLDAPsdk-8.8/samples/connpool.h:139:5: > Function exported but not used outside connpool: cpoolGetConnection > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:812:1: > Definition of cpoolGetConnection >novell-NLDAPsdk-8.8/samples/connpool.h:144:5: > Function exported but not used outside connpool: cpoolReturnConnection > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:881:1: > Definition of cpoolReturnConnection >novell-NLDAPsdk-8.8/samples/connpool.h:149:5: > Function exported but not used outside connpool: cpoolResetBadConnection > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:943:1: > Definition of cpoolResetBadConnection >novell-NLDAPsdk-8.8/samples/connpool.h:154:5: > Function exported but not used outside connpool: cpoolGetHost > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:998:1: Definition of cpoolGetHost >novell-NLDAPsdk-8.8/samples/connpool.h:166:5: > Function exported but not used outside connpool: cpoolDisableHost > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:1063:1: > Definition of cpoolDisableHost >novell-NLDAPsdk-8.8/samples/connpool.h:171:6: > Function exported but not used outside connpool: cpoolDestroy > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/connpool.c:1098:1: Definition of cpoolDestroy > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/dyngroup.c ] >novell-NLDAPsdk-8.8/samples/dyngroup.c: (in function main) >novell-NLDAPsdk-8.8/samples/dyngroup.c:120:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/dyngroup.c:146:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/dyngroup.c:147:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/dyngroup.c:161:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/dyngroup.c:162:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/dyngroup.c:163:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/dyngroup.c:150:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/dyngroup.c:177:5: > Observer storage assigned to unqualified reference: > modClass.mod_type = "objectClass" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/dyngroup.c:177:39: Storage becomes observer >novell-NLDAPsdk-8.8/samples/dyngroup.c:178:5: > Observer storage assigned to unqualified reference: > vclass[0] = "dynamicGroup" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/dyngroup.c:178:39: Storage becomes observer >novell-NLDAPsdk-8.8/samples/dyngroup.c:186:5: > Observer storage assigned to unqualified reference: > modMemberQuery.mod_type = "memberQuery" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/dyngroup.c:186:36: Storage becomes observer >novell-NLDAPsdk-8.8/samples/dyngroup.c:196:5: > Observer storage assigned to unqualified reference: > modDgIdentity.mod_type = "dgIdentity" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/dyngroup.c:196:39: Storage becomes observer >novell-NLDAPsdk-8.8/samples/dyngroup.c:211:13: > Possibly null storage dn passed as non-null param: strcpy (dn, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/samples/dyngroup.c:210:8: Storage dn may become null >novell-NLDAPsdk-8.8/samples/dyngroup.c:225:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/dyngroup.c:229:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/dyngroup.c:230:19: > Fresh storage ld 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-NLDAPsdk-8.8/samples/dyngroup.c:150:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/dyngroup.c:242:5: > Observer storage assigned to unqualified reference: > requiredAttributes[0] = "member" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/dyngroup.c:242:27: Storage becomes observer >novell-NLDAPsdk-8.8/samples/dyngroup.c:261:43: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/dyngroup.c:263:9: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/dyngroup.c:264:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/dyngroup.c:265:22: > Fresh storage ld 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-NLDAPsdk-8.8/samples/dyngroup.c:150:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/dyngroup.c:288:18: > Variable ber 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-NLDAPsdk-8.8/samples/dyngroup.c:290:5: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/dyngroup.c:299:48: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/dyngroup.c:304:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/dyngroup.c:306:18: > Fresh storage attribute 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-NLDAPsdk-8.8/samples/dyngroup.c:271:15: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/dyngroup.c:306:18: > Fresh storage values 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-NLDAPsdk-8.8/samples/dyngroup.c:274:13: Fresh storage values created >novell-NLDAPsdk-8.8/samples/dyngroup.c:306:18: > Fresh storage ld 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-NLDAPsdk-8.8/samples/dyngroup.c:150:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/dyngroup.c:306:18: > Fresh storage entry 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-NLDAPsdk-8.8/samples/dyngroup.c:269:11: Fresh storage entry created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/delentry.c ] >novell-NLDAPsdk-8.8/samples/delentry.c: (in function main) >novell-NLDAPsdk-8.8/samples/delentry.c:44:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/delentry.c:65:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/delentry.c:66:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/delentry.c:80:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/delentry.c:81:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/delentry.c:82:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/delentry.c:69:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/delentry.c:95:47: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/delentry.c:96:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/delentry.c:97:19: > Fresh storage ld 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-NLDAPsdk-8.8/samples/delentry.c:69:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/delentry.c:101:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/delentry.c:103:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/delentry.c:69:11: Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extmatch.c ] >novell-NLDAPsdk-8.8/samples/extmatch.c: (in function main) >novell-NLDAPsdk-8.8/samples/extmatch.c:112:37: > Local attrs[1] initialized to null value: attrs[1] = 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-NLDAPsdk-8.8/samples/extmatch.c:113:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extmatch.c:157:9: > Test expression for if not boolean, type char: *matchAttribute > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/samples/extmatch.c:160:9: > Test expression for if not boolean, type char: *matchingRule > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/samples/extmatch.c:173:9: > Test expression for if not boolean, type int: useAttribute > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extmatch.c:175:9: > Test expression for if not boolean, type int: useRule > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extmatch.c:186:9: > Test expression for if not boolean, type int: useAttribute > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extmatch.c:188:9: > Test expression for if not boolean, type int: useDN > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extmatch.c:190:9: > Test expression for if not boolean, type int: useRule > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extmatch.c:202:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extmatch.c:203:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extmatch.c:217:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extmatch.c:238:43: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extmatch.c:239:23: > Variable searchResult 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-NLDAPsdk-8.8/samples/extmatch.c:239:9: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/extmatch.c:244:47: > Variable searchResult 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-NLDAPsdk-8.8/samples/extmatch.c:246:13: > Fresh storage entry (type LDAPMessage *) not released before assignment (in > post loop increment): entry = ldap_next_entry(ld, entry) > 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-NLDAPsdk-8.8/samples/extmatch.c:244:13: Fresh storage entry created >novell-NLDAPsdk-8.8/samples/extmatch.c:257:5: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/extmatch.c:261:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extmatch.c:263:15: > Fresh storage dn 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-NLDAPsdk-8.8/samples/extmatch.c:248:15: Fresh storage dn created >novell-NLDAPsdk-8.8/samples/extmatch.c:263:15: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extmatch.c:206:11: Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/splitpart.c ] >novell-NLDAPsdk-8.8/samples/extensions/splitpart.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/splitpart.c:50:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/splitpart.c:70:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/splitpart.c:71:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/splitpart.c:86:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/splitpart.c:87:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/splitpart.c:88:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/splitpart.c:75:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/splitpart.c:93:10: > Unrecognized identifier: ldap_split_partition > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/splitpart.c:95:35: > Unrecognized identifier: LDAP_ENSURE_SERVERS_UP > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/splitpart.c:102:19: > Variable msg 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-NLDAPsdk-8.8/samples/extensions/splitpart.c:110:3: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/splitpart.c:113:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/splitpart.c:114:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/splitpart.c:75:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/splitpart.c:119:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/splitpart.c:120:18: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/splitpart.c:75:11: > Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/mergepart.c ] >novell-NLDAPsdk-8.8/samples/extensions/mergepart.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/mergepart.c:52:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/mergepart.c:72:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/mergepart.c:73:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/mergepart.c:85:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/mergepart.c:86:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/mergepart.c:87:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/mergepart.c:76:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/mergepart.c:95:10: > Unrecognized identifier: ldap_merge_partitions > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/mergepart.c:98:20: > Unrecognized identifier: LDAP_ENSURE_SERVERS_UP > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/mergepart.c:105:19: > Variable msg 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-NLDAPsdk-8.8/samples/extensions/mergepart.c:112:3: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/mergepart.c:114:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/mergepart.c:115:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/mergepart.c:76:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/mergepart.c:120:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/mergepart.c:121:14: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/mergepart.c:76:11: > Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/nmasbind.c ] >novell-NLDAPsdk-8.8/samples/extensions/nmasbind.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/nmasbind.c:87:5: > Unrecognized identifier: LDAP > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/nmasbind.c:87:19: > Unrecognized identifier: ld > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/nmasbind.c:87:5: > Statement has no effect: LDAP * ld > Statement has no visible effect --- no values are modified. (Use -noeffect to > inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/nmasbind.c:88:5: > Unrecognized identifier: LDAPMessage > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/nmasbind.c:88:19: > Unrecognized identifier: result > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/getcount.c ] >novell-NLDAPsdk-8.8/samples/extensions/getcount.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/getcount.c:50:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/getcount.c:71:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/getcount.c:72:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/getcount.c:87:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/getcount.c:88:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/getcount.c:89:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/getcount.c:76:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/getcount.c:97:10: > Unrecognized identifier: ldap_partition_entry_count > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/getcount.c:108:19: > Variable msg 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-NLDAPsdk-8.8/samples/extensions/getcount.c:116:3: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/getcount.c:119:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/getcount.c:120:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/getcount.c:76:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/getcount.c:124:59: > Format argument 1 to printf (%d) expects int gets unsigned long int: count > To ignore signs in type comparisons use +ignoresigns > novell-NLDAPsdk-8.8/samples/extensions/getcount.c:124:43: > Corresponding format code >novell-NLDAPsdk-8.8/samples/extensions/getcount.c:124:59: > Variable count 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-NLDAPsdk-8.8/samples/extensions/getcount.c:126:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/getcount.c:127:14: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/getcount.c:76:11: > Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/filterevents.c ] >novell-NLDAPsdk-8.8/samples/extensions/filterevents.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/filterevents.c:87:5: > Unrecognized identifier: LDAP > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/filterevents.c:87:25: > Unrecognized identifier: ld > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/filterevents.c:87:5: > Statement has no effect: LDAP * ld > Statement has no visible effect --- no values are modified. (Use -noeffect to > inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/filterevents.c:88:5: > Unrecognized identifier: LDAPMessage > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/filterevents.c:88:25: > Unrecognized identifier: result > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/filterevents.c:88:5: > Statement has no effect: LDAPMessage * result > Statement has no visible effect --- no values are modified. (Use -noeffect to > inhibit warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/monitorevents.c ] >novell-NLDAPsdk-8.8/samples/extensions/monitorevents.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/monitorevents.c:51:5: > Unrecognized identifier: LDAP > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/monitorevents.c:51:25: > Unrecognized identifier: ld > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/monitorevents.c:51:5: > Statement has no effect: LDAP * ld > Statement has no visible effect --- no values are modified. (Use -noeffect to > inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/monitorevents.c:52:5: > Unrecognized identifier: LDAPMessage > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/monitorevents.c:52:25: > Unrecognized identifier: result > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/monitorevents.c:52:5: > Statement has no effect: LDAPMessage * result > Statement has no visible effect --- no values are modified. (Use -noeffect to > inhibit warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/parsync.c ] >novell-NLDAPsdk-8.8/samples/extensions/parsync.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/parsync.c:51:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/parsync.c:73:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/parsync.c:74:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/parsync.c:89:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/parsync.c:90:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/parsync.c:91:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/parsync.c:78:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/parsync.c:98:10: > Unrecognized identifier: ldap_request_partition_sync > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/parsync.c:110:19: > Variable msg 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-NLDAPsdk-8.8/samples/extensions/parsync.c:118:3: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/parsync.c:121:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/parsync.c:122:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/parsync.c:78:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/parsync.c:127:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/parsync.c:128:14: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/parsync.c:78:11: > Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/setReplFilter.c ] >novell-NLDAPsdk-8.8/samples/extensions/setReplFilter.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/setReplFilter.c:62:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/setReplFilter.c:82:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/setReplFilter.c:83:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/setReplFilter.c:95:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/setReplFilter.c:96:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/setReplFilter.c:97:20: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/setReplFilter.c:86:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/setReplFilter.c:105:10: > Unrecognized identifier: ldap_set_replication_filter > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/setReplFilter.c:115:19: > Variable msg 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-NLDAPsdk-8.8/samples/extensions/setReplFilter.c:123:3: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/setReplFilter.c:126:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/setReplFilter.c:127:20: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/setReplFilter.c:86:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/setReplFilter.c:131:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/setReplFilter.c:133:16: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/setReplFilter.c:86:11: > Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/getrinfo.c ] >novell-NLDAPsdk-8.8/samples/extensions/getrinfo.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/getrinfo.c:51:21: > Unrecognized identifier: LDAPReplicaInfo > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/chgrepl.c ] >novell-NLDAPsdk-8.8/samples/extensions/chgrepl.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/chgrepl.c:58:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/chgrepl.c:81:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/chgrepl.c:82:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/chgrepl.c:97:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/chgrepl.c:98:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/chgrepl.c:99:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/chgrepl.c:86:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/chgrepl.c:106:10: > Unrecognized identifier: ldap_change_replica_type > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/chgrepl.c:110:18: > Unrecognized identifier: LDAP_REPLICA_TYPE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/lburp.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/addrepl.c ] >novell-NLDAPsdk-8.8/samples/extensions/addrepl.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/addrepl.c:53:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/addrepl.c:75:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/addrepl.c:76:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/addrepl.c:91:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/addrepl.c:92:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/addrepl.c:93:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/addrepl.c:80:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/addrepl.c:100:10: > Unrecognized identifier: ldap_add_replica > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/addrepl.c:104:24: > Unrecognized identifier: LDAP_REPLICA_TYPE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/getbinddn.c ] >novell-NLDAPsdk-8.8/samples/extensions/getbinddn.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/getbinddn.c:48:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/getbinddn.c:68:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/getbinddn.c:69:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/getbinddn.c:81:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/getbinddn.c:82:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/getbinddn.c:83:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/getbinddn.c:72:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/getbinddn.c:92:10: > Unrecognized identifier: ldap_get_bind_dn > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/getbinddn.c:101:19: > Variable msg 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-NLDAPsdk-8.8/samples/extensions/getbinddn.c:109:3: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/getbinddn.c:112:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/getbinddn.c:113:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/getbinddn.c:72:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/getbinddn.c:117:37: > Null storage bindDN passed as non-null param: printf (..., bindDN, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/samples/extensions/getbinddn.c:45:23: > Storage bindDN becomes null >novell-NLDAPsdk-8.8/samples/extensions/getbinddn.c:119:5: > Unrecognized identifier: ldapx_memfree > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/getbinddn.c:120:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/getbinddn.c:121:14: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/getbinddn.c:72:11: > Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/sendupd.c ] >novell-NLDAPsdk-8.8/samples/extensions/sendupd.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/sendupd.c:49:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/sendupd.c:71:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/sendupd.c:72:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/sendupd.c:87:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/sendupd.c:88:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/sendupd.c:89:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/sendupd.c:76:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/sendupd.c:96:10: > Unrecognized identifier: ldap_send_all_updates > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/sendupd.c:106:19: > Variable msg 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-NLDAPsdk-8.8/samples/extensions/sendupd.c:114:3: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/sendupd.c:117:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/sendupd.c:118:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/sendupd.c:76:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/sendupd.c:123:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/sendupd.c:124:14: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/sendupd.c:76:11: > Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/getReplFilter.c ] >novell-NLDAPsdk-8.8/samples/extensions/getReplFilter.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:51:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:70:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:71:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:83:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:84:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:85:20: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:74:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:91:10: > Unrecognized identifier: ldap_get_replication_filter > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:98:22: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:103:13: > Variable msg 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-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:109:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:110:20: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:74:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:115:22: > Variable filter 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-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:122:5: > Unrecognized identifier: ldapx_memfree > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:123:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:125:16: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:74:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/getReplFilter.c: (in function printFilter) >novell-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:157:30: > Possibly null storage names passed as non-null param: > sscanf (..., names, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:142:13: > Storage names may become null >novell-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:157:9: > Return value (type int) ignored: sscanf(filter, "... > 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-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:167:9: > Return value (type int) ignored: sscanf(names, "%... > 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-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:188:17: > Return value (type int) ignored: sscanf(pdest, "%... > 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-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:189:44: > Right operand of && is non-boolean (char): > (strlen(aName) == 1) && (aName[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-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:37:6: > Function exported but not used outside getReplFilter: printFilter > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/extensions/getReplFilter.c:216:1: > Definition of printFilter > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/recvupd.c ] >novell-NLDAPsdk-8.8/samples/extensions/recvupd.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/recvupd.c:59:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/recvupd.c:80:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/recvupd.c:81:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/recvupd.c:96:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/recvupd.c:97:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/recvupd.c:98:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/recvupd.c:85:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/recvupd.c:105:10: > Unrecognized identifier: ldap_receive_all_updates > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/recvupd.c:117:19: > Variable msg 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-NLDAPsdk-8.8/samples/extensions/recvupd.c:125:3: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/recvupd.c:128:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/recvupd.c:129:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/recvupd.c:85:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/recvupd.c:134:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/recvupd.c:135:14: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/recvupd.c:85:11: > Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/listrepl.c ] >novell-NLDAPsdk-8.8/samples/extensions/listrepl.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/listrepl.c:51:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/listrepl.c:71:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/listrepl.c:72:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/listrepl.c:87:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/listrepl.c:88:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/listrepl.c:89:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/listrepl.c:76:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/listrepl.c:96:10: > Unrecognized identifier: ldap_list_replicas > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/listrepl.c:107:19: > Variable msg 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-NLDAPsdk-8.8/samples/extensions/listrepl.c:115:3: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/listrepl.c:117:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/listrepl.c:118:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/listrepl.c:76:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/listrepl.c:138:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/listrepl.c:140:14: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/listrepl.c:76:11: > Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/getpriv.c ] >novell-NLDAPsdk-8.8/samples/extensions/getpriv.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/getpriv.c:51:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/getpriv.c:74:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/getpriv.c:75:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/getpriv.c:90:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/getpriv.c:91:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/getpriv.c:92:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/getpriv.c:79:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/getpriv.c:101:10: > Unrecognized identifier: ldap_get_effective_privileges > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/getpriv.c:114:19: > Variable msg 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-NLDAPsdk-8.8/samples/extensions/getpriv.c:122:3: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/getpriv.c:125:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/getpriv.c:126:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/getpriv.c:79:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/getpriv.c:135:40: > Format argument 1 to printf (%08x) expects unsigned int gets int: > privileges > To ignore signs in type comparisons use +ignoresigns > novell-NLDAPsdk-8.8/samples/extensions/getpriv.c:135:34: > Corresponding format code >novell-NLDAPsdk-8.8/samples/extensions/getpriv.c:135:40: > 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-NLDAPsdk-8.8/samples/extensions/getpriv.c:137:23: > Unrecognized identifier: LDAP_DS_ATTR_COMPARE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/getpriv.c:142:23: > Unrecognized identifier: LDAP_DS_ATTR_READ > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/getpriv.c:147:23: > Unrecognized identifier: LDAP_DS_ATTR_WRITE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/getpriv.c:152:23: > Unrecognized identifier: LDAP_DS_ATTR_SELF > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/getpriv.c:159:23: > Unrecognized identifier: LDAP_DS_ATTR_SUPERVISOR > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/getpriv.c:164:23: > Unrecognized identifier: LDAP_DS_ATTR_INHERIT_CTL > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/getpriv.c:170:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/getpriv.c:171:14: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/getpriv.c:79:11: > Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c ] >novell-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:84:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:104:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:105:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:120:46: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:121:10: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:122:24: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:109:10: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:128:10: > Unrecognized identifier: LDAP_BK_PROCESS_BKLINKER > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:130:15: > Unrecognized identifier: ldap_trigger_back_process > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:132:10: > Unrecognized identifier: LDAP_BK_PROCESS_JANITOR > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:136:10: > Unrecognized identifier: LDAP_BK_PROCESS_LIMBER > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:140:10: > Unrecognized identifier: LDAP_BK_PROCESS_SKULKER > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:144:10: > Unrecognized identifier: LDAP_BK_PROCESS_SCHEMA_SYNC > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:148:10: > Unrecognized identifier: LDAP_BK_PROCESS_PART_PURGE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:154:10: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:155:22: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:109:10: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:163:19: > Variable msg 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-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:171:3: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:174:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:175:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:109:10: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:179:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:180:14: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/ldaptrigger.c:109:10: > Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/schsync.c ] >novell-NLDAPsdk-8.8/samples/extensions/schsync.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/schsync.c:50:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/schsync.c:72:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/schsync.c:73:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/schsync.c:88:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/schsync.c:89:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/schsync.c:90:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/schsync.c:77:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/schsync.c:97:10: > Unrecognized identifier: ldap_request_schema_sync > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/schsync.c:107:19: > Variable msg 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-NLDAPsdk-8.8/samples/extensions/schsync.c:115:3: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/schsync.c:119:32: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/schsync.c:121:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/schsync.c:122:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/schsync.c:77:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/schsync.c:127:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/schsync.c:128:14: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/schsync.c:77:11: > Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/abortpo.c ] >novell-NLDAPsdk-8.8/samples/extensions/abortpo.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/abortpo.c:50:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/abortpo.c:71:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/abortpo.c:72:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/abortpo.c:87:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/abortpo.c:88:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/abortpo.c:89:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/abortpo.c:76:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/abortpo.c:97:10: > Unrecognized identifier: ldap_split_partition > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/abortpo.c:100:17: > Unrecognized identifier: LDAP_ENSURE_SERVERS_UP > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/abortpo.c:107:10: > Unrecognized identifier: ldap_abort_partition_operation > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/abortpo.c:118:19: > Variable msg 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-NLDAPsdk-8.8/samples/extensions/abortpo.c:126:3: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/abortpo.c:129:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/abortpo.c:130:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/abortpo.c:76:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/abortpo.c:135:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/abortpo.c:136:14: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/abortpo.c:76:11: > Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/backup.c ] >novell-NLDAPsdk-8.8/samples/extensions/backup.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/backup.c:58:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/backup.c:77:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/backup.c:78:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/backup.c:91:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/backup.c:92:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/backup.c:93:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/backup.c:82:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/backup.c:98:10: Unrecognized identifier: > ldap_backup_object > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/backup.c:107:38: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/backup.c:113:50: > Return value (type int) ignored: getchar() > 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-NLDAPsdk-8.8/samples/extensions/backup.c:115:10: > Unrecognized identifier: ldap_restore_object > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/backup.c:115:10: > Variable size 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-NLDAPsdk-8.8/samples/extensions/backup.c:123:39: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/backup.c:129:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/backup.c:134:8: Unrecognized identifier: > ldapx_memfree > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/backup.c:138:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/backup.c:82:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/backup.c:48:15: > Variable i 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) >novell-NLDAPsdk-8.8/samples/extensions/backup.c:56:17: > Variable err 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-NLDAPsdk-8.8/samples/extensions/remrepl.c ] >novell-NLDAPsdk-8.8/samples/extensions/remrepl.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/remrepl.c:54:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/remrepl.c:76:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/remrepl.c:77:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/remrepl.c:92:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/remrepl.c:93:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/remrepl.c:94:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/remrepl.c:81:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/remrepl.c:101:10: > Unrecognized identifier: ldap_remove_replica > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/remrepl.c:105:23: > Unrecognized identifier: LDAP_ENSURE_SERVERS_UP > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/remrepl.c:112:19: > Variable msg 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-NLDAPsdk-8.8/samples/extensions/remrepl.c:120:3: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/remrepl.c:123:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/remrepl.c:124:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/remrepl.c:81:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/remrepl.c:129:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/remrepl.c:130:14: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/remrepl.c:81:11: > Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/index.c ] >novell-NLDAPsdk-8.8/samples/extensions/index.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/index.c:159:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/index.c:212:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/index.c:213:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/index.c:227:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/index.c:228:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/index.c:229:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/index.c:216:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/index.c:239:52: > Variable rule 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-NLDAPsdk-8.8/samples/extensions/index.c:239:58: > Variable attribute 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-NLDAPsdk-8.8/samples/extensions/index.c:246:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/index.c:248:18: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/index.c:216:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/index.c:156:50: > Variable dn 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) >novell-NLDAPsdk-8.8/samples/extensions/index.c: (in function listIndexes) >novell-NLDAPsdk-8.8/samples/extensions/index.c:282:5: > Observer storage assigned to unqualified reference: > requiredAttributes[0] = "indexDefinition" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/extensions/index.c:282:27: > Storage becomes observer >novell-NLDAPsdk-8.8/samples/extensions/index.c:300:43: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/index.c:301:23: > Variable searchResult 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-NLDAPsdk-8.8/samples/extensions/index.c:301:9: > Return value (type int) ignored: ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/extensions/index.c:306:41: > Variable searchResult 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-NLDAPsdk-8.8/samples/extensions/index.c:318:51: > Possibly null storage passed as non-null param: > printf (..., strtok(NULL, "$"), ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/samples/extensions/index.c:318:51: > Storage may become null >novell-NLDAPsdk-8.8/samples/extensions/index.c:320:45: > Possibly null storage passed as non-null param: atoi (strtok(NULL, "$")) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/samples/extensions/index.c:320:45: > Storage may become null >novell-NLDAPsdk-8.8/samples/extensions/index.c:322:44: > Possibly null storage passed as non-null param: atoi (strtok(NULL, "$")) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/samples/extensions/index.c:322:44: > Storage may become null >novell-NLDAPsdk-8.8/samples/extensions/index.c:324:44: > Possibly null storage passed as non-null param: atoi (strtok(NULL, "$")) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/samples/extensions/index.c:324:44: > Storage may become null >novell-NLDAPsdk-8.8/samples/extensions/index.c:326:45: > Possibly null storage passed as non-null param: atoi (strtok(NULL, "$")) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/samples/extensions/index.c:326:45: > Storage may become null >novell-NLDAPsdk-8.8/samples/extensions/index.c:327:61: > Possibly null storage passed as non-null param: > printf (..., strtok(NULL, "$"), ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/samples/extensions/index.c:327:61: > Storage may become null >novell-NLDAPsdk-8.8/samples/extensions/index.c:310:61: > Variable ber used before definition (in post loop increment) > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/index.c:310:17: > Fresh storage attribute (type char *) not released before assignment: > attribute = ldap_next_attribute(ld, entry, ber) > 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-NLDAPsdk-8.8/samples/extensions/index.c:308:17: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/extensions/index.c:333:18: > Variable ber 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-NLDAPsdk-8.8/samples/extensions/index.c:336:5: > Return value (type int) ignored: ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/extensions/index.c:337:17: > Fresh storage attribute 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-NLDAPsdk-8.8/samples/extensions/index.c:308:17: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/extensions/index.c:337:17: > Fresh storage values 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-NLDAPsdk-8.8/samples/extensions/index.c:313:19: > Fresh storage values created >novell-NLDAPsdk-8.8/samples/extensions/index.c:337:17: > Fresh storage entry 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-NLDAPsdk-8.8/samples/extensions/index.c:306:11: > Fresh storage entry created >novell-NLDAPsdk-8.8/samples/extensions/index.c: (in function addIndex) >novell-NLDAPsdk-8.8/samples/extensions/index.c:354:5: > Observer storage assigned to unqualified reference: > modIndex.mod_type = "indexDefinition" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/extensions/index.c:354:25: > Storage becomes observer >novell-NLDAPsdk-8.8/samples/extensions/index.c:363:5: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/index.c:363:13: > Possibly null storage definitions[0] passed as non-null param: > sprintf (definitions[0], ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/samples/extensions/index.c:361:20: > Storage definitions[0] may become null >novell-NLDAPsdk-8.8/samples/extensions/index.c:377:11: > Unqualified storage definitions[0] passed as only param: > free (definitions[0]) > Unqualified storage is transferred in an inconsistent way. (Use > -unqualifiedtrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/extensions/index.c:361:5: > Storage definitions[0] created >novell-NLDAPsdk-8.8/samples/extensions/index.c:380:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/index.c:389:10: Unrecognized identifier: > ldap_trigger_back_process > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/index.c:389:40: Unrecognized identifier: > LDAP_BK_PROCESS_LIMBER > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/index.c:392:57: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/index.c: (in function deleteIndex) >novell-NLDAPsdk-8.8/samples/extensions/index.c:410:5: > Observer storage assigned to unqualified reference: > requiredAttributes[0] = "indexDefinition" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/extensions/index.c:410:29: > Storage becomes observer >novell-NLDAPsdk-8.8/samples/extensions/index.c:429:43: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/index.c:430:23: > Variable searchResult 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-NLDAPsdk-8.8/samples/extensions/index.c:430:9: > Return value (type int) ignored: ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/extensions/index.c:435:41: > Variable searchResult 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-NLDAPsdk-8.8/samples/extensions/index.c:447:32: Unrecognized identifier: > strdup > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/index.c:450:25: > Left operand of && is non-boolean (char *): > token && (strcmp(token, indexName)) == 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-NLDAPsdk-8.8/samples/extensions/index.c:462:18: > Variable ber 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-NLDAPsdk-8.8/samples/extensions/index.c:464:5: > Return value (type int) ignored: ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/extensions/index.c:469:23: > Fresh storage attribute 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-NLDAPsdk-8.8/samples/extensions/index.c:437:15: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/extensions/index.c:469:23: > Fresh storage values 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-NLDAPsdk-8.8/samples/extensions/index.c:442:19: > Fresh storage values created >novell-NLDAPsdk-8.8/samples/extensions/index.c:469:23: > Fresh storage entry 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-NLDAPsdk-8.8/samples/extensions/index.c:435:11: > Fresh storage entry created >novell-NLDAPsdk-8.8/samples/extensions/index.c:482:5: > Observer storage assigned to unqualified reference: > modIndex.mod_type = "indexDefinition" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/extensions/index.c:482:25: > Storage becomes observer >novell-NLDAPsdk-8.8/samples/extensions/index.c:499:49: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/index.c:500:22: > Fresh storage attribute 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-NLDAPsdk-8.8/samples/extensions/index.c:437:15: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/extensions/index.c:500:22: > Fresh storage values 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-NLDAPsdk-8.8/samples/extensions/index.c:442:19: > Fresh storage values created >novell-NLDAPsdk-8.8/samples/extensions/index.c:500:22: > Fresh storage entry 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-NLDAPsdk-8.8/samples/extensions/index.c:435:11: > Fresh storage entry created >novell-NLDAPsdk-8.8/samples/extensions/index.c:511:57: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/index.c:512:22: > Fresh storage attribute 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-NLDAPsdk-8.8/samples/extensions/index.c:437:15: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/extensions/index.c:512:22: > Fresh storage values 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-NLDAPsdk-8.8/samples/extensions/index.c:442:19: > Fresh storage values created >novell-NLDAPsdk-8.8/samples/extensions/index.c:512:22: > Fresh storage entry 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-NLDAPsdk-8.8/samples/extensions/index.c:435:11: > Fresh storage entry created >novell-NLDAPsdk-8.8/samples/extensions/index.c:516:17: > Fresh storage attribute 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-NLDAPsdk-8.8/samples/extensions/index.c:437:15: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/extensions/index.c:516:17: > Fresh storage values 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-NLDAPsdk-8.8/samples/extensions/index.c:442:19: > Fresh storage values created >novell-NLDAPsdk-8.8/samples/extensions/index.c:516:17: > Fresh storage entry 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-NLDAPsdk-8.8/samples/extensions/index.c:435:11: > Fresh storage entry created >novell-NLDAPsdk-8.8/samples/extensions/index.c:132:5: > Function exported but not used outside index: listIndexes > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/extensions/index.c:338:1: > Definition of listIndexes >novell-NLDAPsdk-8.8/samples/extensions/index.c:133:5: > Function exported but not used outside index: addIndex > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/extensions/index.c:398:1: Definition of addIndex >novell-NLDAPsdk-8.8/samples/extensions/index.c:135:5: > Function exported but not used outside index: deleteIndex > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/extensions/index.c:517:1: > Definition of deleteIndex > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c ] >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c: (in function main) >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:72:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:94:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:95:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:108:45: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:109:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:110:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:99:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:121:23: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:99:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:132:9: > Operands of == have incompatible types (int, ber_tag_t): > rc == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:139:9: > Operands of == have incompatible types (int, ber_tag_t): > ber_flatten(requestber, &requestbv) == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:147:33: > Unrecognized identifier: NLDAP_GET_EFFECTIVE_PRIVILEGES_EXTENDED_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:166:29: > Unrecognized identifier: NLDAP_GET_EFFECTIVE_PRIVILEGES_EXTENDED_REPLY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:166:9: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_GET_EFFECTIVE_PRIVILEGES_EXTENDED_REPLY) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:187:5: > Assignment of ber_tag_t to int: rc = ber_scanf(returnedber, "i", > &privileges) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:188:9: > Operands of == have incompatible types (int, ber_tag_t): > rc == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:201:20: > Variable msg 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-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:207:3: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:216:40: > Format argument 1 to printf (%08x) expects unsigned int gets int: > privileges > To ignore signs in type comparisons use +ignoresigns > novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:216:34: > Corresponding format code >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:216:40: > 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-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:218:23: > Unrecognized identifier: LDAP_DS_ATTR_COMPARE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:223:23: > Unrecognized identifier: LDAP_DS_ATTR_READ > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:228:24: > Unrecognized identifier: LDAP_DS_ATTR_WRITE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:233:24: > Unrecognized identifier: LDAP_DS_ATTR_SELF > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:240:24: > Unrecognized identifier: LDAP_DS_ATTR_SUPERVISOR > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:246:24: > Unrecognized identifier: LDAP_DS_ATTR_INHERIT_CTL > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:252:6: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:275:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:99:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:275:17: > Fresh storage requestber 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-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:119:5: > Fresh storage requestber created >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:275:17: > Fresh storage returnedber 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-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:179:5: > Fresh storage returnedber created >novell-NLDAPsdk-8.8/samples/extensions/bergetpriv.c:66:20: > Variable err 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-NLDAPsdk-8.8/samples/searchURL.c ] >novell-NLDAPsdk-8.8/samples/searchURL.c: (in function main) >novell-NLDAPsdk-8.8/samples/searchURL.c:56:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/searchURL.c:78:10: > Test expression for if not boolean, type int: ldap_is_ldap_url(ldapURL) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchURL.c:138:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/searchURL.c:139:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/searchURL.c:142:24: > Variable ludpp 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-NLDAPsdk-8.8/samples/searchURL.c:146:11: > Operand of ! is non-boolean (int): !isSecure > 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-NLDAPsdk-8.8/samples/searchURL.c:151:20: > Test expression for conditional not boolean, type int: ludpp->lud_port > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchURL.c:172:14: Unrecognized identifier: > ldapssl_client_init > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchURL.c:193:14: Unrecognized identifier: > ldapssl_set_verify_mode > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchURL.c:193:38: Unrecognized identifier: > LDAPSSL_VERIFY_NONE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchURL.c:197:13: Unrecognized identifier: > ldapssl_client_deinit > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchURL.c:205:14: Unrecognized identifier: > ldapssl_init > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchURL.c:206:28: > Test expression for conditional not boolean, type int: ludpp->lud_port > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchURL.c:217:5: > Clauses exit with ld referencing fresh storage in true branch, local > storage in false branch > 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-NLDAPsdk-8.8/samples/searchURL.c:150:15: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/searchURL.c:224:58: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/searchURL.c:225:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/searchURL.c:226:13: > Test expression for if not boolean, type int: isSecure > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchURL.c:234:10: Unrecognized identifier: > ldap_url_search_st > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchURL.c:243:43: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/searchURL.c:244:23: > Variable searchResult 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-NLDAPsdk-8.8/samples/searchURL.c:244:9: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/searchURL.c:245:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/searchURL.c:246:13: > Test expression for if not boolean, type int: isSecure > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchURL.c:252:5: Return value (type int) ignored: > ldap_sort_entrie... > 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-NLDAPsdk-8.8/samples/searchURL.c:255:47: > Variable searchResult 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-NLDAPsdk-8.8/samples/searchURL.c:267:61: > Variable ber used before definition (in post loop increment) > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-NLDAPsdk-8.8/samples/searchURL.c:267:17: > Fresh storage attribute (type char *) not released before assignment: > attribute = ldap_next_attribute(ld, entry, ber) > 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-NLDAPsdk-8.8/samples/searchURL.c:265:17: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/searchURL.c:279:18: > Variable ber 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-NLDAPsdk-8.8/samples/searchURL.c:257:13: > Fresh storage entry (type LDAPMessage *) not released before assignment (in > post loop increment): entry = ldap_next_entry(ld, entry) > 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-NLDAPsdk-8.8/samples/searchURL.c:255:13: Fresh storage entry created >novell-NLDAPsdk-8.8/samples/searchURL.c:288:5: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/searchURL.c:290:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/searchURL.c:292:9: > Test expression for if not boolean, type int: isSecure > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchURL.c:296:17: > Fresh storage attribute 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-NLDAPsdk-8.8/samples/searchURL.c:265:17: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/searchURL.c:296:17: > Fresh storage dn 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-NLDAPsdk-8.8/samples/searchURL.c:259:15: Fresh storage dn created >novell-NLDAPsdk-8.8/samples/searchURL.c:296:17: > Fresh storage values 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-NLDAPsdk-8.8/samples/searchURL.c:270:19: Fresh storage values created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/searchmsg.c ] >novell-NLDAPsdk-8.8/samples/searchmsg.c: (in function main) >novell-NLDAPsdk-8.8/samples/searchmsg.c:56:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/searchmsg.c:77:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/searchmsg.c:78:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/searchmsg.c:81:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/searchmsg.c:94:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/searchmsg.c:95:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/searchmsg.c:96:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/searchmsg.c:84:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/searchmsg.c:115:43: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/searchmsg.c:123:38: Unrecognized identifier: > LDAP_OPT_REFERRAL_LIST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/searchmsg.c:127:27: Index of null pointer reflist: > reflist > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/samples/searchmsg.c:122:30: Storage reflist becomes null >novell-NLDAPsdk-8.8/samples/searchmsg.c:133:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/searchmsg.c:134:23: > Variable searchResult 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-NLDAPsdk-8.8/samples/searchmsg.c:134:9: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/searchmsg.c:135:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/searchmsg.c:84:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/searchmsg.c:139:47: > Variable searchResult 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-NLDAPsdk-8.8/samples/searchmsg.c:164:71: > Variable ber used before definition (in post loop increment) > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-NLDAPsdk-8.8/samples/searchmsg.c:164:21: > Fresh storage attribute (type char *) not released before assignment: > attribute = ldap_next_attribute(ld, searchResult, ber) > 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-NLDAPsdk-8.8/samples/searchmsg.c:162:23: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/searchmsg.c:179:26: > Variable ber 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-NLDAPsdk-8.8/samples/searchmsg.c:194:28: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(parseResult) > 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-NLDAPsdk-8.8/samples/searchmsg.c:195:21: > Return value (type int) ignored: ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/searchmsg.c:196:21: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/searchmsg.c:197:33: > Fresh storage ld 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-NLDAPsdk-8.8/samples/searchmsg.c:84:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/searchmsg.c:197:33: > Fresh storage message 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-NLDAPsdk-8.8/samples/searchmsg.c:139:13: > Fresh storage message created >novell-NLDAPsdk-8.8/samples/searchmsg.c:200:22: > Variable referrals 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-NLDAPsdk-8.8/samples/searchmsg.c:141:9: > Fresh storage message (type LDAPMessage *) not released before assignment > (in post loop increment): message = ldap_next_message(ld, message) > 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-NLDAPsdk-8.8/samples/searchmsg.c:139:13: > Fresh storage message created >novell-NLDAPsdk-8.8/samples/searchmsg.c:229:5: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/searchmsg.c:230:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/searchmsg.c:232:17: > Fresh storage attribute 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-NLDAPsdk-8.8/samples/searchmsg.c:162:23: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/searchmsg.c:232:17: > Fresh storage dn 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-NLDAPsdk-8.8/samples/searchmsg.c:156:23: Fresh storage dn created >novell-NLDAPsdk-8.8/samples/searchmsg.c:232:17: > Fresh storage values 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-NLDAPsdk-8.8/samples/searchmsg.c:167:27: Fresh storage values created >novell-NLDAPsdk-8.8/samples/searchmsg.c:232:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/searchmsg.c:84:11: Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/operationalAttrs.c ] >novell-NLDAPsdk-8.8/samples/operationalAttrs.c: (in function main) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:71:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:90:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/operationalAttrs.c:91:5: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/samples/operationalAttrs.c:107:50: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/operationalAttrs.c:108:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/operationalAttrs.c:109:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/operationalAttrs.c:94:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:115:51: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/operationalAttrs.c:117:5: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/operationalAttrs.c:119:18: > Fresh storage ld 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-NLDAPsdk-8.8/samples/operationalAttrs.c:94:11: > Fresh storage ld created >novell-NLDAPsdk-8.8/samples/operationalAttrs.c: (in function printOperationalAttrs) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:131:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:144:31: > Local attrs[10] initialized to null value: attrs[10] = 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-NLDAPsdk-8.8/samples/operationalAttrs.c:161:23: > Variable searchResult 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-NLDAPsdk-8.8/samples/operationalAttrs.c:161:9: > Return value (type int) ignored: ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/operationalAttrs.c:166:39: > Variable searchResult 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-NLDAPsdk-8.8/samples/operationalAttrs.c:190:17: > Return value (type int) ignored: sscanf(values[0]... > 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-NLDAPsdk-8.8/samples/operationalAttrs.c:173:57: > Variable ber used before definition (in post loop increment) > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:173:13: > Fresh storage attribute (type char *) not released before assignment: > attribute = ldap_next_attribute(ld, entry, ber) > 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-NLDAPsdk-8.8/samples/operationalAttrs.c:171:13: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:203:14: > Variable ber 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-NLDAPsdk-8.8/samples/operationalAttrs.c:204:5: > Return value (type int) ignored: ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/operationalAttrs.c:206:15: > Fresh storage entry 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-NLDAPsdk-8.8/samples/operationalAttrs.c:166:5: > Fresh storage entry created >novell-NLDAPsdk-8.8/samples/operationalAttrs.c: (in function displayEntryFlags) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:217:10: > Test expression for if not boolean, type int: flags & 0x0001 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:219:10: > Test expression for if not boolean, type int: flags & 0x0002 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:221:10: > Test expression for if not boolean, type int: flags & 0x0004 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:223:10: > Test expression for if not boolean, type int: flags & 0x0008 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:225:10: > Test expression for if not boolean, type int: flags & 0x0010 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:227:10: > Test expression for if not boolean, type int: flags & 0x0020 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:229:10: > Test expression for if not boolean, type int: flags & 0x0040 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:231:10: > Test expression for if not boolean, type int: flags & 0x0080 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:233:10: > Test expression for if not boolean, type int: flags & 0x0100 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:235:10: > Test expression for if not boolean, type int: flags & 0x0200 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:237:10: > Test expression for if not boolean, type int: flags & 0x0400 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:239:10: > Test expression for if not boolean, type int: flags & 0x0800 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:241:10: > Test expression for if not boolean, type int: flags & 0x1000 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:243:10: > Test expression for if not boolean, type int: flags & 0x2000 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:246:40: > Format argument 1 to printf (%s) expects char * gets char [128] *: > &entryFlags > Type of parameter is not consistent with corresponding code in format string. > (Use -formattype to inhibit warning) > novell-NLDAPsdk-8.8/samples/operationalAttrs.c:246:36: > Corresponding format code >novell-NLDAPsdk-8.8/samples/operationalAttrs.c: (in function printTime) >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:258:5: > Return value (type int) ignored: sscanf(utc, "%4d... > 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-NLDAPsdk-8.8/samples/operationalAttrs.c:266:17: > Passed storage UTC contains 2 undefined fields: tm_wday, tm_yday > 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-NLDAPsdk-8.8/samples/operationalAttrs.c:269:9: > Suspect modification of observer time[]: time[strlen(time) - 1] = '\0' > Storage declared with observer is possibly modified. Observer storage may not > be modified. (Use -modobserver to inhibit warning) > novell-NLDAPsdk-8.8/samples/operationalAttrs.c:267:16: > Storage time[] becomes observer >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:47:6: > Function exported but not used outside operationalAttrs: > printOperationalAttrs > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/operationalAttrs.c:207:1: > Definition of printOperationalAttrs >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:48:6: > Function exported but not used outside operationalAttrs: printTime > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/operationalAttrs.c:272:1: > Definition of printTime >novell-NLDAPsdk-8.8/samples/operationalAttrs.c:49:6: > Function exported but not used outside operationalAttrs: displayEntryFlags > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/operationalAttrs.c:247:1: > Definition of displayEntryFlags > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/verpass.c ] >novell-NLDAPsdk-8.8/samples/verpass.c: (in function main) >novell-NLDAPsdk-8.8/samples/verpass.c:61:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/verpass.c:81:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/verpass.c:82:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/verpass.c:96:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/verpass.c:97:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/verpass.c:98:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/verpass.c:85:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/verpass.c:118:44: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/verpass.c:119:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/verpass.c:120:19: > Fresh storage ld 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-NLDAPsdk-8.8/samples/verpass.c:85:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/verpass.c:123:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/verpass.c:125:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/verpass.c:85:11: Fresh storage ld created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/modifyACL.c ] >novell-NLDAPsdk-8.8/samples/modifyACL.c: (in function main) >novell-NLDAPsdk-8.8/samples/modifyACL.c:66:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/modifyACL.c:86:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/modifyACL.c:87:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/modifyACL.c:99:50: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/modifyACL.c:100:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modifyACL.c:101:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modifyACL.c:90:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/modifyACL.c:106:18: Unrecognized identifier: > LDAP_DS_ENTRY_BROWSE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/modifyACL.c:107:19: Unrecognized identifier: > LDAP_DS_ENTRY_ADD > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/modifyACL.c:108:19: Unrecognized identifier: > LDAP_DS_ENTRY_DELETE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/modifyACL.c:109:5: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/samples/modifyACL.c:116:5: > Observer storage assigned to unqualified reference: modACL.mod_type = "acl" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/samples/modifyACL.c:116:25: Storage becomes observer >novell-NLDAPsdk-8.8/samples/modifyACL.c:134:49: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/modifyACL.c:135:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modifyACL.c:136:19: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modifyACL.c:90:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/modifyACL.c:146:56: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/modifyACL.c:147:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modifyACL.c:148:19: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modifyACL.c:90:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/modifyACL.c:160:49: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/modifyACL.c:161:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modifyACL.c:162:19: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modifyACL.c:90:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/modifyACL.c:166:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/modifyACL.c:167:17: > Fresh storage ld 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-NLDAPsdk-8.8/samples/modifyACL.c:90:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/modifyACL.c: (in function findACLValues) >novell-NLDAPsdk-8.8/samples/modifyACL.c:177:59: > Local attrs[1] initialized to null value: attrs[1] = 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-NLDAPsdk-8.8/samples/modifyACL.c:180:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/modifyACL.c:197:23: > Variable searchResult 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-NLDAPsdk-8.8/samples/modifyACL.c:197:9: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/modifyACL.c:203:39: > Variable searchResult 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-NLDAPsdk-8.8/samples/modifyACL.c:216:14: > Variable ber 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-NLDAPsdk-8.8/samples/modifyACL.c:217:5: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/modifyACL.c:219:15: > Fresh storage values 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-NLDAPsdk-8.8/samples/modifyACL.c:210:11: Fresh storage values created >novell-NLDAPsdk-8.8/samples/modifyACL.c:219:15: > Fresh storage attribute 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-NLDAPsdk-8.8/samples/modifyACL.c:204:5: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/modifyACL.c:219:15: > Fresh storage entry 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-NLDAPsdk-8.8/samples/modifyACL.c:203:5: Fresh storage entry created >novell-NLDAPsdk-8.8/samples/modifyACL.c: (in function printACLValue) >novell-NLDAPsdk-8.8/samples/modifyACL.c:240:2: Return value (type int) ignored: > sscanf(aclValue,... > 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-NLDAPsdk-8.8/samples/modifyACL.c:251:27: Unrecognized identifier: > LDAP_DS_ENTRY_RENAME > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/modifyACL.c:253:27: Unrecognized identifier: > LDAP_DS_ENTRY_SUPERVISOR > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/modifyACL.c:259:27: Unrecognized identifier: > LDAP_DS_ATTR_COMPARE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/modifyACL.c:261:27: Unrecognized identifier: > LDAP_DS_ATTR_READ > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/modifyACL.c:263:27: Unrecognized identifier: > LDAP_DS_ATTR_WRITE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/modifyACL.c:265:27: Unrecognized identifier: > LDAP_DS_ATTR_SELF > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/modifyACL.c:267:27: Unrecognized identifier: > LDAP_DS_ATTR_SUPERVISOR > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/samples/modifyACL.c:275:36: > Format argument 1 to printf (%s) expects char * gets char [128] *: &privs > Type of parameter is not consistent with corresponding code in format string. > (Use -formattype to inhibit warning) > novell-NLDAPsdk-8.8/samples/modifyACL.c:275:32: Corresponding format code >novell-NLDAPsdk-8.8/samples/modifyACL.c:49:6: > Function exported but not used outside modifyACL: findACLValues > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/modifyACL.c:220:1: Definition of findACLValues >novell-NLDAPsdk-8.8/samples/modifyACL.c:50:6: > Function exported but not used outside modifyACL: printACLValue > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/modifyACL.c:277:1: Definition of printACLValue > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/rebind.c ] >novell-NLDAPsdk-8.8/samples/rebind.c:47:27: > Global creds.dn initialized to null value: creds.dn = 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-NLDAPsdk-8.8/samples/rebind.c:47:33: > Global creds.pw initialized to null value: creds.pw = 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) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/sortcntl.c ] >novell-NLDAPsdk-8.8/samples/sortcntl.c: (in function main) >novell-NLDAPsdk-8.8/samples/sortcntl.c:55:30: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/sortcntl.c:59:36: > Local serverctrls[0] initialized to null value: serverctrls[0] = 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-NLDAPsdk-8.8/samples/sortcntl.c:59:42: > Local serverctrls[1] initialized to null value: serverctrls[1] = 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-NLDAPsdk-8.8/samples/sortcntl.c:65:41: > Local attrs[2] initialized to null value: attrs[2] = 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-NLDAPsdk-8.8/samples/sortcntl.c:92:10: > Test expression for if not boolean, type int: isCritical > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/sortcntl.c:100:6: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/sortcntl.c:101:6: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/sortcntl.c:110:3: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/sortcntl.c:116:10: > Operand of ! is non-boolean (int): !isServerSortControlSupported(ld) > 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-NLDAPsdk-8.8/samples/sortcntl.c:119:22: > Fresh storage ld 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-NLDAPsdk-8.8/samples/sortcntl.c:106:5: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/sortcntl.c:129:48: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/sortcntl.c:130:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/sortcntl.c:131:23: > Fresh storage ld 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-NLDAPsdk-8.8/samples/sortcntl.c:106:5: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/sortcntl.c:140:54: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/sortcntl.c:154:53: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/sortcntl.c:176:47: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/sortcntl.c:195:47: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/sortcntl.c:210:53: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/sortcntl.c:213:9: > Variable err 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-NLDAPsdk-8.8/samples/sortcntl.c:213:9: > Test expression for if not boolean, type int: err > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/samples/sortcntl.c:218:50: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string((int)err) > 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-NLDAPsdk-8.8/samples/sortcntl.c:246:14: > Fresh storage values (type char **) not released before assignment: > values = ldap_get_values(ld, entry, "givenname") > 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-NLDAPsdk-8.8/samples/sortcntl.c:239:14: Fresh storage values created >novell-NLDAPsdk-8.8/samples/sortcntl.c:230:11: > Fresh storage entry (type LDAPMessage *) not released before assignment (in > post loop increment): entry = ldap_next_entry(ld, entry) > 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-NLDAPsdk-8.8/samples/sortcntl.c:228:11: Fresh storage entry created >novell-NLDAPsdk-8.8/samples/sortcntl.c:256:5: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/sortcntl.c:260:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/sortcntl.c:262:18: > Fresh storage ld 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-NLDAPsdk-8.8/samples/sortcntl.c:106:5: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/sortcntl.c:262:18: > Fresh storage dn 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-NLDAPsdk-8.8/samples/sortcntl.c:232:9: Fresh storage dn created >novell-NLDAPsdk-8.8/samples/sortcntl.c:262:18: > Fresh storage values 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-NLDAPsdk-8.8/samples/sortcntl.c:246:14: Fresh storage values created >novell-NLDAPsdk-8.8/samples/sortcntl.c: (in function isServerSortControlSupported) >novell-NLDAPsdk-8.8/samples/sortcntl.c:273:53: > Local attribs[1] initialized to null value: attribs[1] = 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-NLDAPsdk-8.8/samples/sortcntl.c:282:43: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/sortcntl.c:283:9: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/sortcntl.c:284:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/sortcntl.c:293:9: > No argument corresponding to printf format code 1 (%s): > "ldap_first_attribute returned no results.%s\n" > Types are incompatible. (Use -type to inhibit warning) > novell-NLDAPsdk-8.8/samples/sortcntl.c:293:59: Corresponding format code >novell-NLDAPsdk-8.8/samples/sortcntl.c:294:9: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/sortcntl.c:295:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/sortcntl.c:296:22: > Fresh storage entry 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-NLDAPsdk-8.8/samples/sortcntl.c:288:5: Fresh storage entry created >novell-NLDAPsdk-8.8/samples/sortcntl.c:315:5: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/sortcntl.c:319:15: > Fresh storage attribute 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-NLDAPsdk-8.8/samples/sortcntl.c:290:5: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/sortcntl.c:319:15: > Fresh storage values 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-NLDAPsdk-8.8/samples/sortcntl.c:302:11: Fresh storage values created >novell-NLDAPsdk-8.8/samples/sortcntl.c:319:15: > Fresh storage entry 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-NLDAPsdk-8.8/samples/sortcntl.c:288:5: Fresh storage entry created >novell-NLDAPsdk-8.8/samples/sortcntl.c:37:5: > Function exported but not used outside sortcntl: > isServerSortControlSupported > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/sortcntl.c:320:1: > Definition of isServerSortControlSupported > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/gracelog.c ] >novell-NLDAPsdk-8.8/samples/gracelog.c:45:26: > Initializer block used for timeOut where struct timeval is expected: > { 10, 0 } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/samples/gracelog.c: (in function main) >novell-NLDAPsdk-8.8/samples/gracelog.c:76:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/gracelog.c:77:5: Return value (type int) ignored: > ldap_set_option(... > 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-NLDAPsdk-8.8/samples/gracelog.c:111:18: > Variable errorString 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-NLDAPsdk-8.8/samples/gracelog.c:116:21: Return value (type int) ignored: > getGraceLoginInf... > 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-NLDAPsdk-8.8/samples/gracelog.c:123:48: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/gracelog.c:124:9: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/gracelog.c:125:21: > Fresh storage ld 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-NLDAPsdk-8.8/samples/gracelog.c:83:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/gracelog.c:128:5: Return value (type int) ignored: > ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/samples/gracelog.c:130:18: > Fresh storage ld 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-NLDAPsdk-8.8/samples/gracelog.c:83:11: Fresh storage ld created >novell-NLDAPsdk-8.8/samples/gracelog.c: (in function getGraceLoginInfo) >novell-NLDAPsdk-8.8/samples/gracelog.c:136:71: > Local attrs[2] initialized to null value: attrs[2] = 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-NLDAPsdk-8.8/samples/gracelog.c:155:55: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/samples/gracelog.c:156:23: > Variable searchResult 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-NLDAPsdk-8.8/samples/gracelog.c:156:9: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/gracelog.c:161:39: > Variable searchResult 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-NLDAPsdk-8.8/samples/gracelog.c:165:57: > Variable ber used before definition (in post loop increment) > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-NLDAPsdk-8.8/samples/gracelog.c:165:13: > Fresh storage attribute (type char *) not released before assignment: > attribute = ldap_next_attribute(ld, entry, ber) > 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-NLDAPsdk-8.8/samples/gracelog.c:163:13: > Fresh storage attribute created >novell-NLDAPsdk-8.8/samples/gracelog.c:174:14: > Variable ber 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-NLDAPsdk-8.8/samples/gracelog.c:175:5: Return value (type int) ignored: > ldap_msgfree(sea... > 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-NLDAPsdk-8.8/samples/gracelog.c:177:16: > Fresh storage values 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-NLDAPsdk-8.8/samples/gracelog.c:167:14: Fresh storage values created >novell-NLDAPsdk-8.8/samples/gracelog.c:177:16: > Fresh storage entry 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-NLDAPsdk-8.8/samples/gracelog.c:161:5: Fresh storage entry created >novell-NLDAPsdk-8.8/samples/gracelog.c:45:16: > Variable exported but not used outside gracelog: timeOut > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) >novell-NLDAPsdk-8.8/samples/gracelog.c:51:5: > Function exported but not used outside gracelog: getGraceLoginInfo > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/samples/gracelog.c:178:1: > Definition of getGraceLoginInfo > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/samples/md5bind.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c ] >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:386:59: > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:18:28: > Static g_mechOid initialized to null value: > gss_OID g_mechOid = ((gss_OID)0) = ((gss_OID)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) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c: (in function parse_oid) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:36:9: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:37:28: > Test expression for for not boolean, type char: *cp > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:42:9: > Variable mechanism is kept in false branch, but not kept in true branch. > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:42:9: in false branch: > novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:42:9: > Storage mechanism becomes kept >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:50:9: > Variable mechstr 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:40:13: > Storage mechstr released >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:51:14: > Unallocated storage mechstr passed as out parameter: mechstr > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:29:15: > Variable maj_stat 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) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:29:25: > Variable min_stat 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) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:25:49: Parameter oid 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c: (in function do_gss_bind) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:82:9: > Unrecognized identifier: client_establish_context > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:87:40: > Passed storage &min_stat not completely defined: > gss_export_sec_context (&min_stat, ...) > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:88:44: > Passed storage &context not completely defined: > gss_export_sec_context (..., &context, ...) > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:89:44: > Passed storage context_token contains 2 undefined fields: length, value > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:105:37: > Passed storage &src_name not completely defined: > gss_inquire_context (..., &src_name, ...) > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:105:48: > Passed storage &targ_name not completely defined: > gss_inquire_context (..., &targ_name, ...) > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:105:60: > Passed storage &lifetime not completely defined: > gss_inquire_context (..., &lifetime, ...) > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:106:37: > Passed storage &mechanism not completely defined: > gss_inquire_context (..., &mechanism, ...) > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:106:49: > Passed storage &context_flags not completely defined: > gss_inquire_context (..., &context_flags, ...) > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:107:37: > Passed storage &is_local not completely defined: > gss_inquire_context (..., &is_local, ...) > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:108:37: > Passed storage &is_open not completely defined: > gss_inquire_context (..., &is_open) > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:122:50: > Null storage passed as non-null param: > gss_delete_sec_context (..., ((gss_buffer_t)0)) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:122:6: > Return value (type OM_uint32) ignored: gss_delete_sec_c... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalother to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:125:16: > Only storage context_token.value (type void *) 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:74:10: > Variable conf_req_flag 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) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:75:10: > Variable req_output_size 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) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:76:16: > Variable max_input_size 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) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:78:23: > Variable pServerResponse 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) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c: (in function client_establish_context) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:146:6: > Implicitly only storage err_code->target_name (type gss_name_t) not > released before assignment: err_code->target_name = NULL > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:155:33: > Passed storage &min_stat not completely defined: > gss_import_name (&min_stat, ...) > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:155:99: > Passed storage &target_name not completely defined: > gss_import_name (..., &target_name) > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:175:37: > Function gss_init_sec_context expects arg 6 to be OM_uint32 gets int: 2 | 4 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:171:37: > Null storage passed as non-null param: > gss_init_sec_context (..., ((gss_cred_id_t)0), ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:172:37: > Null storage *gss_context derivable from parameter gss_init_sec_context > (..., gss_context, ...) > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:166:21: > Storage *gss_context becomes null >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:177:37: > Null storage passed as non-null param: > gss_init_sec_context (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:178:37: > Null storage token_ptr passed as non-null param: > gss_init_sec_context (..., token_ptr, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:165:18: > Storage token_ptr becomes null >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:179:37: > Null storage passed as non-null param: > gss_init_sec_context (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:182:37: > Null storage passed as non-null param: gss_init_sec_context (..., NULL) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:193:25: > Operands of != have incompatible types (OM_uint32, int): > maj_stat != (1 << (0 + 0)) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:204:11: > Unrecognized identifier: gss_send_token > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:215:10: > Operands of == have incompatible types (OM_uint32, int): > maj_stat == (1 << (0 + 0)) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:216:52: > Arrow access from null pointer pServerResponse: pServerResponse->bv_val > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:143:41: > Storage pServerResponse becomes null >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:217:10: > Assignment of ber_len_t to size_t: recv_tok.length = pServerResponse->bv_len > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:219:11: > Storage pServerResponse->bv_val is kept 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:216:4: > Storage pServerResponse->bv_val becomes kept >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:220:15: > Operands of == have incompatible types (OM_uint32, int): > maj_stat == (1 << (0 + 0)) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:234:55: > Arrow access from null pointer pServerResponse: pServerResponse->bv_val > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:223:18: > Storage pServerResponse becomes null >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:235:7: > Assignment of ber_len_t to size_t: xmit_buf.length = pServerResponse->bv_len > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:239:100: > Passed storage msg_buf contains 2 undefined fields: length, value > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:240:28: > Passed storage &conf_state not completely defined: > gss_unwrap (..., &conf_state, ...) > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:240:41: > Null storage passed as non-null param: gss_unwrap (..., (gss_qop_t *)NULL) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:249:9: > Test expression for if not boolean, type unsigned char: > ((unsigned char *)msg_buf.value)[0] & 0x01 > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:250:3: > Assignment of int to unsigned char: ((unsigned char *)msg_buf.value)[0] = > 0x01 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:261:33: > Function gss_wrap_size_limit expects arg 5 to be OM_uint32 gets int: > req_output_size > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:273:3: > Assignment of int to unsigned char: ((unsigned char *)msg_buf.value)[1] = > 0xFF > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:274:3: > Assignment of int to unsigned char: ((unsigned char *)msg_buf.value)[2] = > 0xFF > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:275:3: > Assignment of int to unsigned char: ((unsigned char *)msg_buf.value)[3] = > 0xFF > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:283:64: > Null storage passed as non-null param: > gss_delete_sec_context (..., ((gss_buffer_t)0)) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:283:17: > Return value (type OM_uint32) ignored: gss_delete_sec_c... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalother to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:295:16: > Only storage send_tok.value (type void *) 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:295:16: > Only storage xmit_buf.value (type void *) 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:295:16: > Only storage msg_buf.value (type void *) 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:295:16: > Function returns with null storage derivable from parameter *gss_context > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:166:21: > Storage *gss_context becomes null >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:295:16: > Function returns with null storage derivable from parameter > err_code->target_name > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:146:28: > Storage err_code->target_name becomes null >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:136:76: > Parameter cred 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c: (in function display_status) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:302:33: > Local msg.value initialized to null value: msg.value = 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:306:13: > Test expression for while not boolean, type int: 1 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:307:41: > Passed storage &min_stat not completely defined: > gss_display_status (&min_stat, ...) > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:312:25: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:317:17: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:320:16: > Operand of ! is non-boolean (OM_uint32): !msg_ctx > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:323:2: > Only storage msg.value (type void *) 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c: (in function display_ctx_flags) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:330:10: > Test expression for if not boolean, type OM_uint32: flags & 1 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:332:10: > Test expression for if not boolean, type OM_uint32: flags & 2 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:334:10: > Test expression for if not boolean, type OM_uint32: flags & 4 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:336:10: > Test expression for if not boolean, type OM_uint32: flags & 8 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:338:10: > Test expression for if not boolean, type OM_uint32: flags & 16 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:340:10: > Test expression for if not boolean, type OM_uint32: flags & 32 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c: (in function ldap_gss_error) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:353:7: > Return value (type OM_uint32) ignored: gss_release_name... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalother to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:354:13: > Unqualified static storage errMsg returned as implicitly only: errMsg > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c: (in function gss_send_token) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:367:2: > Assignment of size_t to ber_len_t: responseVal.bv_len = tok->length > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:375:12: > Only storage responseVal.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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:375:12: > Storage tok->value reachable from parameter is kept (should be implicitly > only) > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:366:2: > Storage tok->value becomes kept >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:362:10: > Variable realmStr 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) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:363:24: > Variable host 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) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:364:18: > Variable pTestChar 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) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:365:19: > Variable result 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) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c: (in function gss_recv_token) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:391:39: > Variable result 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:395:54: > Arrow access from null pointer pServerResponse: pServerResponse->bv_val > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:381:37: > Storage pServerResponse becomes null >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:395:10: > Implicitly only storage tok->value (type void *) not released before > assignment: tok->value = (gss_buffer_t *)pServerResponse->bv_val > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:396:10: > Assignment of ber_len_t to size_t: tok->length = pServerResponse->bv_len > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c: (in function ldap_gssbind) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:421:8: > Return value (type int) ignored: parse_oid(mechan... > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:424:6: > Unrecognized identifier: strcasecmp > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:430:65: > Passed storage temp_err_code contains 3 undefined fields: > maj_stat, min_stat, target_name > 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:439:7: > Storage temp_err_code.target_name 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-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:439:7: > Storage temp_err_code.target_name released >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:413:16: > Variable min_stat 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) >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:21:13: > File static function display_ctx_flags declared but not used > A function is declared but not used. Use /*@unused@*/ in front of function > header to suppress message. (Use -fcnuse to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:342:1: > Definition of display_ctx_flags >novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:57:5: > Function exported but not used outside gss_bind: do_gss_bind > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/ldapgss/src/gss_bind.c:127:1: > Definition of do_gss_bind > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/debug.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/ssl_cert.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/nlmmain.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/prng.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/ssl_init.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/st_tls.c ] >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/st_tls.c: (in function ldapssl_start_tls) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/st_tls.c:68:18: > Unrecognized identifier: LDAPIOFuncs > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/ssl_io.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/nversion.c ] > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/globals.c ] >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/globals.c:55:5: > Unrecognized identifier: iof_socket > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/globals.c:56:5: > Unrecognized identifier: iof_prepare > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/globals.c:57:5: > Unrecognized identifier: iof_connect > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/globals.c:58:5: > Unrecognized identifier: iof_read > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/globals.c:59:5: > Unrecognized identifier: iof_write > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/globals.c:60:5: > Unrecognized identifier: iof_select > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/globals.c:61:5: > Unrecognized identifier: iof_ioctl > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/globals.c:62:5: > Unrecognized identifier: iof_close > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/globals.c:54:1: > Initializer block used for g_SSL_fns where struct ldap_io_funcs is > expected: { iof_socket, iof_prepare, iof_connect, iof_read, iof_write, > iof_select, iof_ioctl, iof_close } > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/globals.c:71:5: > Unrecognized identifier: iof_no_prepare > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/globals.c:69:1: > Initializer block used for g_SSL_fns_no_prepare where struct ldap_io_funcs > is expected: { iof_socket, iof_no_prepare, iof_connect, iof_read, > iof_write, iof_select, iof_ioctl, iof_close } > Types are incompatible. (Use -type to inhibit warning) > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/dllmain.c ] > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c ] >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c: (in function dump_certs_keys_buf) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:75:37: > Null storage passed as non-null param: d2i_PKCS12_bio (..., NULL) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:79:10: > Operand of ! is non-boolean (int): !dump_certs_keys_p12(out, p12, pass) > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:87:16: > Fresh storage p12 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:75:11: > Fresh storage p12 created >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c: (in function dump_certs_keys_p12) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:113:23: > Fresh storage p7 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:106:3: > Fresh storage p7 created >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:113:23: > Fresh storage asafes 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:104:9: > Fresh storage asafes created >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:114:12: > Operand of ! is non-boolean (int): !dump_certs_pkeys_bags(out, bags, pass) > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:116:13: > Fresh storage bags 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:111:4: > Fresh storage bags created >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:116:13: > Fresh storage p7 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:106:3: > Fresh storage p7 created >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:116:13: > Fresh storage asafes 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:104:9: > Fresh storage asafes created >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:121:11: > Fresh storage asafes 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:104:9: > Fresh storage asafes created >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:121:11: > Fresh storage bags 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:111:4: > Fresh storage bags created >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:121:11: > Fresh storage p7 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:106:3: > Fresh storage p7 created >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c: (in function dump_certs_pkeys_bags) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:137:34: > New fresh storage (type PKCS12_SAFEBAG *) passed as implicitly temp (not > released): ((PKCS12_SAFEBAG *)sk_value((bags), (i))) > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:137:8: > Operand of ! is non-boolean (int): !dump_certs_pkeys_bag(out, > ((PKCS12_SAFEBAG *)sk_value((bags), (i))), pass) > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c: (in function dump_certs_pkeys_bag) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:158:3: > Return value (type int) ignored: print_attribs(ou... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:161:3: > Return value (type int) ignored: print_attribs(ou... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:162:40: > Null storage passed as non-null param: > PEM_write_bio_PrivateKey (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:162:46: > Null storage passed as non-null param: > PEM_write_bio_PrivateKey (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:162:55: > Null storage passed as non-null param: > PEM_write_bio_PrivateKey (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:162:61: > Null storage passed as non-null param: PEM_write_bio_PrivateKey (..., NULL) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:162:3: > Return value (type int) ignored: PEM_write_bio_Pr... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:167:3: > Return value (type int) ignored: print_attribs(ou... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:170:47: > Fresh storage p8 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:168:9: > Fresh storage p8 created >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:171:3: > Return value (type int) ignored: print_attribs(ou... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:173:40: > Null storage passed as non-null param: > PEM_write_bio_PrivateKey (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:173:46: > Null storage passed as non-null param: > PEM_write_bio_PrivateKey (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:173:55: > Null storage passed as non-null param: > PEM_write_bio_PrivateKey (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:173:61: > Null storage passed as non-null param: PEM_write_bio_PrivateKey (..., NULL) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:173:3: > Return value (type int) ignored: PEM_write_bio_Pr... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:178:3: > Return value (type int) ignored: print_attribs(ou... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:182:3: > Return value (type int) ignored: dump_cert_text(o... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:183:3: > Return value (type int) ignored: PEM_write_bio_X5... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:188:3: > Return value (type int) ignored: print_attribs(ou... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:193:2: > Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:195:11: > Fresh storage pkey 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:170:9: > Fresh storage pkey created >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:195:11: > Fresh storage x509 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:181:9: > Fresh storage x509 created >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c: (in function print_attribs) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:213:3: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:216:6: > Operand of ! is non-boolean (int): !sk_num((attrlst)) > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:217:3: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:220:2: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:224:3: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:226:4: > Return value (type int) ignored: i2a_ASN1_OBJECT(... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:227:4: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:228:10: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:230:6: > Test expression for if not boolean, type int: sk_num((attr->value.set)) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:236:5: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:243:5: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:249:5: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:253:6: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:256:10: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:258:11: > Fresh storage attr 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:222:3: > Fresh storage attr created >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:258:11: > Fresh storage av 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:231:4: > Fresh storage av created >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:258:11: > Fresh storage value 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:234:12: > Fresh storage value created >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c: (in function dump_cert_text) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:270:20: > New fresh storage (type X509_NAME *) passed as implicitly temp (not > released): X509_get_subject_name(x) > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:270:45: > Passed storage buf not completely defined (*buf is undefined): > X509_NAME_oneline (..., buf, ...) > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:270:2: > Return value (type char *) ignored: X509_NAME_onelin... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalother to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:271:2: > Return value (type int) ignored: BIO_puts(out, "s... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:272:2: > Return value (type int) ignored: BIO_puts(out, buf) > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:274:20: > New fresh storage (type X509_NAME *) passed as implicitly temp (not > released): X509_get_issuer_name(x) > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:274:2: > Return value (type char *) ignored: X509_NAME_onelin... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalother to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:275:2: > Return value (type int) ignored: BIO_puts(out, "\... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:276:2: > Return value (type int) ignored: BIO_puts(out, buf) > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:277:2: > Return value (type int) ignored: BIO_puts(out, "\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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c: (in function hex_prin) >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:290:28: > Return value (type int) ignored: BIO_printf(out, ... > 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-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:27:5: > Function exported but not used outside pkcs12x: dump_certs_keys_p12 > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:122:1: > Definition of dump_certs_keys_p12 >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:33:5: > Function exported but not used outside pkcs12x: dump_certs_pkeys_bags > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:141:1: > Definition of dump_certs_pkeys_bags >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:38:5: > Function exported but not used outside pkcs12x: dump_certs_pkeys_bag > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:196:1: > Definition of dump_certs_pkeys_bag >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:44:5: > Function exported but not used outside pkcs12x: print_attribs > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:259:1: > Definition of print_attribs >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:50:5: > Function exported but not used outside pkcs12x: dump_cert_text > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:279:1: > Definition of dump_cert_text >novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:55:6: > Function exported but not used outside pkcs12x: hex_prin > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/ldapssl/src/ldapssl/pkcs12x.c:291:1: > Definition of hex_prin > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/extensions/samples/simple/main.c ] >novell-NLDAPsdk-8.8/nldapx/extensions/samples/simple/main.c: (in function main) >novell-NLDAPsdk-8.8/nldapx/extensions/samples/simple/main.c:43:18: > Unrecognized identifier: LDAPReplicaInfo > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcpart.c ] >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcpart.c: (in function ldap_split_partition) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcpart.c:86:9: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcpart.c:93:9: > Operands of == have incompatible types (int, ber_tag_t): > ber_flatten(requestber, &requestbv) == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcpart.c:99:45: > Unrecognized identifier: NLDAP_SPLIT_PARTITION_EXTENDED_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcpart.c:109:28: > Unrecognized identifier: NLDAP_SPLIT_PARTITION_EXTENDED_REPLY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcpart.c:109:8: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_SPLIT_PARTITION_EXTENDED_REPLY) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcpart.c:131:18: > Fresh storage requestber 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lcpart.c:80:5: > Fresh storage requestber created >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcpart.c: (in function ldap_merge_partitions) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcpart.c:171:9: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcpart.c:178:9: > Operands of == have incompatible types (int, ber_tag_t): > ber_flatten(requestber, &requestbv) == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcpart.c:184:46: > Unrecognized identifier: NLDAP_MERGE_PARTITION_EXTENDED_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcpart.c:194:29: > Unrecognized identifier: NLDAP_MERGE_PARTITION_EXTENDED_REPLY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcpart.c:194:9: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_MERGE_PARTITION_EXTENDED_REPLY) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcpart.c:216:18: > Fresh storage requestber 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lcpart.c:165:5: > Fresh storage requestber created >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c ] >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c: (in function LBURPEncodeAdd) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:97:8: > Test expression for if not boolean, type char: > controls[i]->ldctl_iscritical > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c: (in function LBURPEncodeDelete) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:173:8: > Test expression for if not boolean, type char: > controls[i]->ldctl_iscritical > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c: (in function LBURPEncodeMod) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:303:8: > Test expression for if not boolean, type char: > controls[i]->ldctl_iscritical > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:231:23: > Parameter ld 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c: (in function LBURPEncodeModRDN) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:409:8: > Test expression for if not boolean, type char: > controls[i]->ldctl_iscritical > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:356:10: > Parameter ld 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c: (in function ldap_lburp_start_request) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:462:50: > Unrecognized identifier: NLDAP_LBURP_INCREMENTAL_UPDATE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:463:6: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:470:6: > Operands of == have incompatible types (int, ber_tag_t): > ber_flatten(requestber, &requestbv) == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:478:4: > Unrecognized identifier: NLDAP_LBURP_START_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:493:4: > Arrow access field of non-struct or union pointer (LDAP *): ld->ld_errno > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:496:15: > Fresh storage requestber 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:457:2: > Fresh storage requestber created >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c: (in function ldap_parse_lburp_start_response) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:541:26: > Unrecognized identifier: NLDAP_LBURP_START_RESPONSE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:541:6: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_LBURP_START_RESPONSE) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:556:2: > Assignment of ber_tag_t to int: err = ber_scanf(returnedber, "{i}", > tranSize) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:557:6: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:576:4: > Arrow access field of non-struct or union pointer (LDAP *): ld->ld_errno > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:579:15: > Fresh storage returnedber 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lburp.c:549:2: > Fresh storage returnedber created >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c ] >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c: (in function ldap_trigger_back_process) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:72:7: > Unrecognized identifier: LDAP_BK_PROCESS_BKLINKER > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:74:3: > Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:76:7: > Unrecognized identifier: LDAP_BK_PROCESS_JANITOR > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:78:3: > Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:80:7: > Unrecognized identifier: LDAP_BK_PROCESS_LIMBER > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:82:3: > Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:84:7: > Unrecognized identifier: LDAP_BK_PROCESS_SKULKER > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:86:3: > Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:88:7: > Unrecognized identifier: LDAP_BK_PROCESS_SCHEMA_SYNC > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:90:3: > Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:92:7: > Unrecognized identifier: LDAP_BK_PROCESS_PART_PURGE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:94:3: > Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:100:2: > Path with no return in function declared to return int > There is a path through a function declared to return a value on which there > is no return statement. This means the execution may fall through without > returning a meaningful result to the caller. (Use -noret to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c: (in function wrapper_ldap_trigger_backlink) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:127:45: > Unrecognized identifier: NLDAP_TRIGGER_BKLINKER_EXTENDED_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:137:28: > Unrecognized identifier: NLDAP_TRIGGER_BKLINKER_EXTENDED_REPLY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:137:8: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_TRIGGER_BKLINKER_EXTENDED_REPLY) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c: (in function wrapper_ldap_trigger_janitor) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:178:45: > Unrecognized identifier: NLDAP_TRIGGER_JANITOR_EXTENDED_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:188:28: > Unrecognized identifier: NLDAP_TRIGGER_JANITOR_EXTENDED_REPLY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:188:8: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_TRIGGER_JANITOR_EXTENDED_REPLY) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c: (in function wrapper_ldap_trigger_limber) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:228:45: > Unrecognized identifier: NLDAP_TRIGGER_LIMBER_EXTENDED_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:238:28: > Unrecognized identifier: NLDAP_TRIGGER_LIMBER_EXTENDED_REPLY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:238:8: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_TRIGGER_LIMBER_EXTENDED_REPLY) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c: (in function wrapper_ldap_trigger_skulker) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:279:45: > Unrecognized identifier: NLDAP_TRIGGER_SKULKER_EXTENDED_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:289:28: > Unrecognized identifier: NLDAP_TRIGGER_SKULKER_EXTENDED_REPLY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:289:8: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_TRIGGER_SKULKER_EXTENDED_REPLY) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c: (in function wrapper_ldap_trigger_schema_sync) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:329:45: > Unrecognized identifier: NLDAP_TRIGGER_SCHEMA_SYNC_EXTENDED_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:339:28: > Unrecognized identifier: NLDAP_TRIGGER_SCHEMA_SYNC_EXTENDED_REPLY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:339:8: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_TRIGGER_SCHEMA_SYNC_EXTENDED_REPLY) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c: (in function wrapper_ldap_trigger_partition_purge) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:379:45: > Unrecognized identifier: NLDAP_TRIGGER_PART_PURGE_EXTENDED_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:389:28: > Unrecognized identifier: NLDAP_TRIGGER_PART_PURGE_EXTENDED_REPLY > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:389:8: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_TRIGGER_PART_PURGE_EXTENDED_REPLY) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.h:38:5: > Function exported but not used outside lcother: > wrapper_ldap_trigger_backlink > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:153:1: > Definition of wrapper_ldap_trigger_backlink >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.h:39:5: > Function exported but not used outside lcother: > wrapper_ldap_trigger_janitor > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:204:1: > Definition of wrapper_ldap_trigger_janitor >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.h:40:5: > Function exported but not used outside lcother: wrapper_ldap_trigger_limber > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:254:1: > Definition of wrapper_ldap_trigger_limber >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.h:41:5: > Function exported but not used outside lcother: > wrapper_ldap_trigger_skulker > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:305:1: > Definition of wrapper_ldap_trigger_skulker >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.h:42:5: > Function exported but not used outside lcother: > wrapper_ldap_trigger_schema_sync > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:355:1: > Definition of wrapper_ldap_trigger_schema_sync >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.h:43:5: > Function exported but not used outside lcother: > wrapper_ldap_trigger_partition_purge > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcother.c:405:1: > Definition of wrapper_ldap_trigger_partition_purge > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/extensions/client/src/events.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/extensions/client/src/nlmmain.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c ] >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c: (in function ldap_backup_object) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:70:8: > Operand of ! is non-boolean (long int): !mts > 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:71:16: > Fresh storage requestber 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:60:2: > Fresh storage requestber created >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:73:19: > Possibly null storage passed as non-null param: atoi (strtok(NULL, "+")) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:73:19: > Storage may become null >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:74:8: > Operand of ! is non-boolean (long int): !revision > 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:75:16: > Fresh storage requestber 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:60:2: > Fresh storage requestber created >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:80:6: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:87:6: > Operands of == have incompatible types (int, ber_tag_t): > ber_flatten(requestber, &requestbv) == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:94:10: > Unrecognized identifier: NLDAP_LDAP_BACKUP_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:108:26: > Unrecognized identifier: NLDAP_LDAP_BACKUP_RESPONSE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:108:6: > Test expression for if not boolean, type int: > strcmp(returnedOID, NLDAP_LDAP_BACKUP_RESPONSE) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:130:5: > Assignment of ber_tag_t to int: err = ber_scanf(returnedber, "i", size) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:131:6: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:136:2: > Assignment of ber_tag_t to int: err = ber_scanf(returnedber, "i", &mts) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:137:6: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:142:2: > Assignment of ber_tag_t to int: err = ber_scanf(returnedber, "i", > &revision) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:143:6: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:148:2: > Assignment of ber_tag_t to int: err = ber_scanf(returnedber, "a", > &returnedBuffer) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:149:6: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:154:2: > Assignment of ber_tag_t to int: err = ber_scanf(returnedber, "{i[", > &arrayCount) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:155:6: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:161:9: > Possibly null storage temp passed as non-null param: strcpy (temp, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:160:9: > Storage temp may become null >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:162:2: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:162:20: > Variable arrayCount 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:164:9: > Possibly null storage arrayBuffer passed as non-null param: > strcpy (arrayBuffer, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:163:16: > Storage arrayBuffer may become null >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:169:3: > Assignment of ber_tag_t to int: err = ber_scanf(returnedber, "{i}", > &arrayElement) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:170:7: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:175:3: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:175:21: > Variable arrayElement 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:177:10: > Possibly null storage arrayBuffer passed as non-null param: > strcat (arrayBuffer, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:176:17: > Storage arrayBuffer may become null >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:181:31: > Function malloc expects arg 1 to be size_t gets int: *size > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:182:38: > Function memcpy expects arg 3 to be size_t gets int: *size > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:182:9: > Possibly null storage *objectInfo passed as non-null param: > memcpy (*objectInfo, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:181:16: > Storage *objectInfo may become null >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:182:22: > Null storage returnedBuffer passed as non-null param: > memcpy (..., returnedBuffer, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:54:25: > Storage returnedBuffer becomes null >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:184:9: > Possibly null storage *chunckSize passed as non-null param: > memcpy (*chunckSize, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:183:16: > Storage *chunckSize may become null >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:187:8: > Unqualified storage *objectState passed as only param: free (*objectState) > Unqualified storage is transferred in an inconsistent way. (Use > -unqualifiedtrans to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:189:2: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:189:25: > Format argument 1 to sprintf (%d) expects int gets long int: mts > To ignore type qualifiers in type comparisons use +ignorequals. > novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:189:18: > Corresponding format code >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:189:30: > Format argument 2 to sprintf (%d) expects int gets long int: revision > To ignore type qualifiers in type comparisons use +ignorequals. > novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:189:21: > Corresponding format code >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:190:17: > Unrecognized identifier: strdup > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:217:4: > Arrow access field of non-struct or union pointer (LDAP *): ld->ld_errno > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:220:13: > Fresh storage requestber 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:60:2: > Fresh storage requestber created >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:220:13: > Fresh storage returnedber 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:124:2: > Fresh storage returnedber created >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:220:13: > Fresh storage arrayBuffer 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:163:2: > Fresh storage arrayBuffer created >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:220:13: > Fresh storage temp 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:160:2: > Fresh storage temp created >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:220:13: > Function returns with possibly null storage derivable from parameter > *objectInfo > 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:181:16: > Storage *objectInfo may become null >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:220:13: > Function returns with possibly null storage derivable from parameter > *chunckSize > 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:183:16: > Storage *chunckSize may become null >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c: (in function ldap_restore_object) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:248:6: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:254:37: > Possibly null storage temp passed as non-null param: atoi (temp) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:253:9: > Storage temp may become null >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:254:2: > Return value (type int) ignored: ber_printf(reque... > 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:258:7: > Operands of == have incompatible types (int, ber_tag_t): > err == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:266:29: > Function malloc expects arg 1 to be size_t gets int: size > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:267:20: > Variable blob 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:267:41: > Function memcpy expects arg 3 to be size_t gets int: size > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:267:9: > Possibly null storage newbuffer passed as non-null param: > memcpy (newbuffer, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:266:14: > Storage newbuffer may become null >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:279:6: > Operands of == have incompatible types (int, ber_tag_t): > ber_flatten(requestber, &requestbv) == ((ber_tag_t)-1) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:285:10: > Unrecognized identifier: NLDAP_LDAP_RESTORE_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:299:40: > Unrecognized identifier: NLDAP_LDAP_RESTORE_RESPONSE > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:299:6: > Test expression for if not boolean, type int: > strcmp(returnedOID, (const char *)NLDAP_LDAP_RESTORE_RESPONSE) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:325:4: > Arrow access field of non-struct or union pointer (LDAP *): ld->ld_errno > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:328:15: > Fresh storage requestber 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:242:5: > Fresh storage requestber created >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:328:15: > Fresh storage newbuffer 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-NLDAPsdk-8.8/nldapx/extensions/client/src/lbackup.c:266:2: > Fresh storage newbuffer created > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcidentity.c ] >novell-NLDAPsdk-8.8/nldapx/extensions/client/src/lcidentity.c:73:23: > No type before declaration name (implicit int type): uint16 : static <any> > A variable declaration has no explicit type. The type is implicitly int. > (Use -imptype to inhibit warning) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/extensions/client/src/nversion.c ] > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/extensions/client/src/dllmain.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/extensions/client/src/chain.c ] > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/extensions/server/src/leidentity.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/extensions/server/src/lemain.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/extensions/server/src/lepart.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/extensions/server/src/nlmmain.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/extensions/server/src/lbackup.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/extensions/server/src/nversion.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/nldapx/extensions/server/src/dllmain.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/hsregex/regerror.c ] >novell-NLDAPsdk-8.8/hsregex/regex.h:53:1: Macro __const already defined > A macro is defined in more than one place. > /usr/include/sys/cdefs.h:65: Previous definition of __const >novell-NLDAPsdk-8.8/hsregex/regex.h:56:1: Macro __P already defined > A macro is defined in more than one place. > /usr/include/sys/cdefs.h:73: Previous definition of __P >novell-NLDAPsdk-8.8/hsregex/regerror.c:92:2: > Initial value of rerrs[0] is type int, expects struct rerr: 1 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regerror.c:92:5: > Initial value of rerrs[1] is type char *, expects struct rerr: > "REG_NOMATCH" > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regerror.c:92:20: > Initial value of rerrs[2] is type char *, expects struct rerr: > "regexec() failed to match" > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regerror.c:93:2: > Initial value of rerrs[3] is type int, expects struct rerr: 2 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regerror.c:109:3: > Additional initialization errors for rerrs not reported >novell-NLDAPsdk-8.8/hsregex/regerror.c: (in function regerror) >novell-NLDAPsdk-8.8/hsregex/regerror.c:130:21: > Passed storage convbuf not completely defined (*convbuf is undefined): > regatoi (..., convbuf) > 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-NLDAPsdk-8.8/hsregex/regerror.c:136:7: > Test expression for if not boolean, type int: errcode & 0400 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regerror.c:140:5: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regerror.c:140:34: > Format argument 1 to sprintf (%x) expects unsigned int gets int: target > To ignore signs in type comparisons use +ignoresigns > novell-NLDAPsdk-8.8/hsregex/regerror.c:140:30: Corresponding format code >novell-NLDAPsdk-8.8/hsregex/regerror.c:145:2: > Clauses exit with s referencing fresh storage in true branch, stack storage > in false branch > 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-NLDAPsdk-8.8/hsregex/regerror.c:142:4: > Storage s becomes stack-allocated storage > novell-NLDAPsdk-8.8/hsregex/regerror.c:130:3: Fresh storage s created >novell-NLDAPsdk-8.8/hsregex/regerror.c: (in function regatoi) >novell-NLDAPsdk-8.8/hsregex/regerror.c:177:9: > Observer storage returned without qualification: ("0") > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regerror.c:177:10: Storage becomes observer >novell-NLDAPsdk-8.8/hsregex/regerror.c:179:2: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/hsregex/engine.c ] >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/hsregex/regex_test.c ] >novell-NLDAPsdk-8.8/hsregex/regex_test.c:19: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-NLDAPsdk-8.8/hsregex/regex_test.c:19:23: > Static infile initialized to null value: FILE * 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-NLDAPsdk-8.8/hsregex/regex_test.c: (in function prompt) >novell-NLDAPsdk-8.8/hsregex/regex_test.c:23:8: > Test expression for while not boolean, type int: 1 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regex_test.c:25:19: > Function fgets expects arg 2 to be int gets size_t: len > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/hsregex/regex_test.c:25:61: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regex_test.c:26:32: Assignment of int to char: > *p = 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regex_test.c:27:8: > Operands of == have incompatible types (char, int): *data == 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regex_test.c:29:43: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regex_test.c:33:14: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regex_test.c:33:16: > Path with no return in function declared to return int > There is a path through a function declared to return a value on which there > is no return statement. This means the execution may fall through without > returning a meaningful result to the caller. (Use -noret to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regex_test.c:33:16: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regex_test.c: (in function main) >novell-NLDAPsdk-8.8/hsregex/regex_test.c:46:20: > Right operand of && is non-boolean (char): (argc > 1) && (argv[1][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-NLDAPsdk-8.8/hsregex/regex_test.c:49:16: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regex_test.c:47:19: > Storage infile may become null >novell-NLDAPsdk-8.8/hsregex/regex_test.c:51:21: > Passed storage pattern not completely defined (*pattern is undefined): > prompt (..., pattern, ...) > 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-NLDAPsdk-8.8/hsregex/regex_test.c:51:6: > Test expression for if not boolean, type int: > prompt("nloop", pattern, sizeof((pattern)), "default 1") > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regex_test.c:52:3: Assignment of long int to int: > nloop = atol(pattern) > To ignore type qualifiers in type comparisons use +ignorequals. >novell-NLDAPsdk-8.8/hsregex/regex_test.c:53:6: > Variable nloop 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-NLDAPsdk-8.8/hsregex/regex_test.c:54:8: > Test expression for while not boolean, type int: > prompt("Pattern", pattern, sizeof((pattern)), "quit, or try ^([0-9]+)(\\-| > |$)(.*)$") > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regex_test.c:56:10: > Possibly null storage r passed as non-null param: memset (r, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regex_test.c:50:6: Storage r may become null >novell-NLDAPsdk-8.8/hsregex/regex_test.c:57:7: > Test expression for if not boolean, type int: > (error = regcomp(r, pattern, 0001)) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regex_test.c:58:22: > Passed storage errbuff not completely defined (*errbuff is undefined): > regerror (..., errbuff, ...) > 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-NLDAPsdk-8.8/hsregex/regex_test.c:58:5: > Return value (type size_t) ignored: regerror(error, ... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalother to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regex_test.c:61:38: > Format argument 1 to printf (%d) expects int gets size_t: r->re_nsub > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. > novell-NLDAPsdk-8.8/hsregex/regex_test.c:61:28: Corresponding format code >novell-NLDAPsdk-8.8/hsregex/regex_test.c:62:5: > Assignment of arbitrary unsigned integral type to int: n = r->re_nsub + 1 > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/hsregex/regex_test.c:64:22: > Passed storage line not completely defined (*line is undefined): > prompt (..., line, ...) > 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-NLDAPsdk-8.8/hsregex/regex_test.c:64:8: > Test expression for while not boolean, type int: > prompt("Data", line, sizeof((line)), pattern) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regex_test.c:66:47: > Function regexec expects arg 3 to be size_t gets int: n > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/hsregex/regex_test.c:66:49: > Possibly null storage m passed as non-null param: regexec (..., m, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regex_test.c:63:9: Storage m may become null >novell-NLDAPsdk-8.8/hsregex/regex_test.c:66:49: > Passed storage *m contains 2 undefined fields: rm_so, rm_eo > 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-NLDAPsdk-8.8/hsregex/regex_test.c:74:10: > Test expression for if not boolean, type int: error > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regex_test.c:75:23: > Passed storage errbuff not completely defined (*errbuff is undefined): > regerror (..., errbuff, ...) > 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-NLDAPsdk-8.8/hsregex/regex_test.c:75:6: > Return value (type size_t) ignored: regerror(error, ... > Result returned by function call is not used. If this is intended, can cast > result to (void) to eliminate message. (Use -retvalother to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regex_test.c:80:11: > Index of possibly null pointer m: m > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regex_test.c:63:9: Storage m may become null >novell-NLDAPsdk-8.8/hsregex/regex_test.c:81:7: > Field m[].rm_so 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-NLDAPsdk-8.8/hsregex/regex_test.c:82:9: > Field m[].rm_eo 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-NLDAPsdk-8.8/hsregex/regex_test.c:82:22: > Field m[].rm_so 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-NLDAPsdk-8.8/hsregex/regex_test.c:84:14: > Field m[].rm_so 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-NLDAPsdk-8.8/hsregex/regex_test.c:80:11: > Format argument 2 to printf (%d) expects int gets regoff_t: m[j].rm_so > Type of parameter is not consistent with corresponding code in format string. > (Use -formattype to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regex_test.c:79:17: Corresponding format code >novell-NLDAPsdk-8.8/hsregex/regex_test.c:80:22: > Format argument 3 to printf (%d) expects int gets regoff_t: m[j].rm_eo > Type of parameter is not consistent with corresponding code in format string. > (Use -formattype to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regex_test.c:79:20: Corresponding format code >novell-NLDAPsdk-8.8/hsregex/regex_test.c:80:22: > Field m[].rm_eo 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-NLDAPsdk-8.8/hsregex/regex_test.c:81:6: > Format argument 4 to printf (%.*) expects int gets long int: > (m[j].rm_so >= 0) ? (m[j].rm_eo - m[j].rm_so) : 0 > To ignore type qualifiers in type comparisons use +ignorequals. > novell-NLDAPsdk-8.8/hsregex/regex_test.c:79:26: Corresponding format code >novell-NLDAPsdk-8.8/hsregex/regex_test.c:88:14: > Return value (type int) ignored: fclose(infile) > 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-NLDAPsdk-8.8/hsregex/regex_test.c:89:6: > Test expression for if not boolean, type int: acc_loop > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/hsregex/regcomp.c ] >novell-NLDAPsdk-8.8/hsregex/regex.h:53:1: Macro __const already defined > A macro is defined in more than one place. > /usr/include/sys/cdefs.h:65: Previous definition of __const >novell-NLDAPsdk-8.8/hsregex/regex.h:56:1: Macro __P already defined > A macro is defined in more than one place. > /usr/include/sys/cdefs.h:73: Previous definition of __P >novell-NLDAPsdk-8.8/hsregex/cclass.h:47:2: > Initial value of cclasses[0] is type char *, expects struct cclass: "alnum" > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/cclass.h:47:11: > Initial value of cclasses[1] is type char *, expects struct cclass: > "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/cclass.h:47:80: > Initial value of cclasses[2] is type char *, expects struct cclass: "" > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/cclass.h:48:2: > Initial value of cclasses[3] is type char *, expects struct cclass: "alpha" > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/cclass.h:67:3: > Additional initialization errors for cclasses not reported >novell-NLDAPsdk-8.8/hsregex/cname.h:46:2: > Initial value of cnames[0] is type char *, expects struct cname: "NUL" > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/cname.h:46:9: > Initial value of cnames[1] is type char, expects struct cname: '\0' > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/cname.h:47:2: > Initial value of cnames[2] is type char *, expects struct cname: "SOH" > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/cname.h:47:9: > Initial value of cnames[3] is type char, expects struct cname: '\001' > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/cname.h:142:3: > Additional initialization errors for cnames not reported >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function regcomp) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:197:6: > Operands of && are non-boolean (int): (cflags & 0001) && (cflags & 0020) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:200:6: > Test expression for if not boolean, type int: cflags & 0040 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:203:3: Assignment of int to size_t: > len = preg->re_endp - pattern > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:209:10: > Incompatible types for + (char, int): CHAR_MAX - CHAR_MIN + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:212:2: > Assignment of arbitrary unsigned integral type to sopno: > p->ssize = len / (size_t)2 * (size_t)3 + (size_t)1 > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:213:27: > Function malloc expects arg 1 to be size_t gets long int: > p->ssize * sizeof(sop) > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:217:14: > Only storage pa.strip (type sop *) 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-NLDAPsdk-8.8/hsregex/regcomp.c:223:2: > Dependent storage p->next assigned to implicitly only: > p->end = p->next + len > Dependent storage is transferred to a non-dependent reference. (Use > -dependenttrans to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:223:11: > Storage p->next becomes dependent >novell-NLDAPsdk-8.8/hsregex/regcomp.c:230:17: > Incompatible types for + (char, int): CHAR_MAX - CHAR_MIN + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:242:2: > Immediate address &g->catspace[] assigned to implicitly only: > g->categories = &g->catspace[-(CHAR_MIN)] > An immediate address (result of & operator) is transferred inconsistently. > (Use -immediatetrans to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:243:41: > Incompatible types for + (char, int): CHAR_MAX - CHAR_MIN + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:247:9: > Null storage p->g->sets derivable from parameter doemit (p, ...) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:231:12: > Storage p->g->sets becomes null >novell-NLDAPsdk-8.8/hsregex/regcomp.c:247:9: > Null storage p->g->setbits derivable from parameter doemit (p, ...) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:232:15: > Storage p->g->setbits becomes null >novell-NLDAPsdk-8.8/hsregex/regcomp.c:247:9: > Null storage p->g->must derivable from parameter doemit (p, ...) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:238:12: > Storage p->g->must becomes null >novell-NLDAPsdk-8.8/hsregex/regcomp.c:247:9: > Passed storage *(p->g) contains 8 undefined fields: > magic, strip, nstates, firststate, ... > 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-NLDAPsdk-8.8/hsregex/regcomp.c:247:9: > Passed storage *p contains 1 undefined field: strip > 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-NLDAPsdk-8.8/hsregex/regcomp.c:249:6: > Test expression for if not boolean, type int: cflags & 0001 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:250:13: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:251:11: > Test expression for if not boolean, type int: cflags & 0020 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:254:13: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:254:27: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:259:16: > Null storage g->sets derivable from parameter categorize (..., g) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:231:12: Storage g->sets becomes null >novell-NLDAPsdk-8.8/hsregex/regcomp.c:259:16: > Null storage g->setbits derivable from parameter categorize (..., g) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:232:15: > Storage g->setbits becomes null >novell-NLDAPsdk-8.8/hsregex/regcomp.c:259:16: > Null storage g->must derivable from parameter categorize (..., g) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:238:12: Storage g->must becomes null >novell-NLDAPsdk-8.8/hsregex/regcomp.c:259:16: > Passed storage *g contains 5 undefined fields: > magic, strip, nstates, categories, nplus > 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-NLDAPsdk-8.8/hsregex/regcomp.c:263:15: > Left operand of << may be negative (char): ('R' ^ 0200) << 8 > The left operand to a shift operator may be negative (behavior is > implementation-defined). (Use -shiftimplementation to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:263:2: Assignment of char to int: > g->magic = ((('R' ^ 0200) << 8) | 'E') > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:265:2: > Implicitly only storage preg->re_g (type struct re_guts *) not released > before assignment: preg->re_g = g > 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-NLDAPsdk-8.8/hsregex/regcomp.c:265:2: > Kept storage g assigned to implicitly only: preg->re_g = g > storage is transferred to a non-temporary reference after being passed as > keep parameter. The storage may be released or new aliases created. (Use > -kepttrans to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:221:2: Storage g becomes kept >novell-NLDAPsdk-8.8/hsregex/regcomp.c:266:21: > Left operand of << may be negative (char): ('r' ^ 0200) << 8 > The left operand to a shift operator may be negative (behavior is > implementation-defined). (Use -shiftimplementation to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:266:2: Assignment of char to int: > preg->re_magic = ((('r' ^ 0200) << 8) | 'e') > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:269:6: > Test expression for if not boolean, type int: g->iflags & 04 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:270:10: > Storage p->g reachable from passed parameter is kept (should be implicitly > only): p > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:265:2: Storage p->g becomes kept >novell-NLDAPsdk-8.8/hsregex/regcomp.c:270:3: Return value (type int) ignored: > seterr(p, (15)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:276:19: > Only storage pa.end (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-NLDAPsdk-8.8/hsregex/regcomp.c:276:19: > Only storage pa.strip (type sop *) 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-NLDAPsdk-8.8/hsregex/regcomp.c:276:19: > Only storage pa.g (type struct re_guts *) 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-NLDAPsdk-8.8/hsregex/regcomp.c: (in function p_ere) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:297:59: > Operands of != have incompatible types (char, int): c != stop > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:299:27: > Right operand of || is non-boolean (int): > ((p->slen) != conc) || seterr(p, (14)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:301:8: Operand of ! is non-boolean (int): > !((((p->next < p->end) && (*p->next) == ('|'))) ? ((p->next++), 1) : 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-NLDAPsdk-8.8/hsregex/regcomp.c:304:7: > Test expression for if not boolean, type int: first > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:305:45: > Function doinsert expects arg 3 to be size_t gets long int: > (p->slen) - (conc) + 1 > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:310:63: > Variable prevback 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-NLDAPsdk-8.8/hsregex/regcomp.c:312:31: > Variable prevfwd 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-NLDAPsdk-8.8/hsregex/regcomp.c:312:21: > Function dofwd expects arg 3 to be sop gets long int: (p->slen) - (prevfwd) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:317:7: Operand of ! is non-boolean (int): > !first > 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-NLDAPsdk-8.8/hsregex/regcomp.c:318:31: > Variable prevfwd 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-NLDAPsdk-8.8/hsregex/regcomp.c:318:21: > Function dofwd expects arg 3 to be sop gets long int: (p->slen) - (prevfwd) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:319:63: > Variable prevback 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-NLDAPsdk-8.8/hsregex/regcomp.c:322:55: > Operands of == have incompatible types (char, int): (*p->next) == (stop) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function p_ere_exp) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:346:28: > Right operand of || is non-boolean (int): > ((p->next < p->end)) || seterr(p, (8)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:348:3: Assignment of size_t to sopno: > subno = p->g->nsub > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:353:13: > Function p_ere expects arg 2 to be int gets char: ')' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:359:54: > Right operand of || is non-boolean (int): > ((p->next < p->end) && (*p->next++) == (')')) || seterr(p, (8)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:370:3: Return value (type int) ignored: > seterr(p, (8)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:385:3: Return value (type int) ignored: > seterr(p, (14)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:390:3: Return value (type int) ignored: > seterr(p, (13)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:393:7: > Test expression for if not boolean, type int: p->g->cflags & 0010 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:402:28: > Right operand of || is non-boolean (int): > ((p->next < p->end)) || seterr(p, (5)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:404:15: > Function ordinary expects arg 2 to be int gets char: c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:407:53: > Right operand of || is non-boolean (int): > (!(p->next < p->end) || !isdigit((*p->next))) || seterr(p, (13)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:409:10: > Fall through case (no preceding break) > Execution falls through from the previous case. (Use -casebreak to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:410:15: > Function ordinary expects arg 2 to be int gets char: c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:423:5: Operand of ! is non-boolean (int): > !wascaret > 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-NLDAPsdk-8.8/hsregex/regcomp.c:423:18: > Right operand of || is non-boolean (int): (!wascaret) || seterr(p, (13)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:427:43: > Function doinsert expects arg 3 to be size_t gets long int: > (p->slen) - (pos) + 1 > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:429:44: > Function doinsert expects arg 3 to be size_t gets long int: > (p->slen) - (pos) + 1 > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:433:43: > Function doinsert expects arg 3 to be size_t gets long int: > (p->slen) - (pos) + 1 > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:438:44: > Function doinsert expects arg 3 to be size_t gets long int: > (p->slen) - (pos) + 1 > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:440:17: > Function dofwd expects arg 3 to be sop gets long int: (p->slen) - (pos) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:442:27: > Function dofwd expects arg 3 to be sop gets long int: > (p->slen) - ((p->slen - 1)) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:447:7: > Test expression for if not boolean, type int: > ((((p->next < p->end) && (*p->next) == (','))) ? ((p->next++), 1) : 0) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:450:27: > Right operand of || is non-boolean (int): > (count <= count2) || seterr(p, (10)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:452:5: Assignment of float to int: > count2 = INFINITY > To allow all numeric types to match, use +relaxtypes. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:456:8: Operand of ! is non-boolean (int): > !((((p->next < p->end) && (*p->next) == ('}'))) ? ((p->next++), 1) : 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-NLDAPsdk-8.8/hsregex/regcomp.c:459:29: > Right operand of || is non-boolean (int): > ((p->next < p->end)) || seterr(p, (9)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:460:4: Return value (type int) ignored: > seterr(p, (10)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:471:2: Return value (type int) ignored: > seterr(p, (13)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c: (in function p_str) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:482:27: > Right operand of || is non-boolean (int): > ((p->next < p->end)) || seterr(p, (14)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:484:15: > Function ordinary expects arg 2 to be int gets char: (*p->next++) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function p_bre) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:509:6: > Test expression for if not boolean, type int: > ((((p->next < p->end) && (*p->next) == ('^'))) ? ((p->next++), 1) : 0) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:514:79: > Operands of == have incompatible types (char, int): (*p->next) == (end1) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:514:103: > Operands of == have incompatible types (char, int): > (*(p->next + 1)) == (end2) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:518:6: > Test expression for if not boolean, type int: wasdollar > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:525:27: > Right operand of || is non-boolean (int): > ((p->slen) != start) || seterr(p, (14)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c: (in function p_simp_re) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:548:2: Assignment of char to int: > c = (*p->next++) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:549:6: > Operands of == have incompatible types (int, char): c == '\\' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:550:28: > Right operand of || is non-boolean (int): > ((p->next < p->end)) || seterr(p, (5)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:551:11: > Right operand of << may be negative (int): 1 << CHAR_BIT > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:551:3: > Assignment of unsigned char to int: c = (1 << CHAR_BIT) | (unsigned > char)(*p->next++) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:555:7: > Test expression for if not boolean, type int: p->g->cflags & 0010 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:563:11: > Right operand of << may be negative (int): 1 << CHAR_BIT > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:564:3: Return value (type int) ignored: > seterr(p, (13)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:566:11: > Right operand of << may be negative (int): 1 << CHAR_BIT > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:568:3: Assignment of size_t to sopno: > subno = p->g->nsub > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:574:13: > Function p_bre expects arg 2 to be int gets char: '\\' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:574:19: > Function p_bre expects arg 3 to be int gets char: ')' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:580:4: > Operands of || are non-boolean (int): > (((((p->next < p->end) && (p->next + 1 < p->end) && (*p->next) == ('\\') && > (*(p->next + 1)) == (')'))) ? ((p->next += 2), 1) : 0)) || seterr(p, (8)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:582:11: > Right operand of << may be negative (int): 1 << CHAR_BIT > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:583:11: > Right operand of << may be negative (int): 1 << CHAR_BIT > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:584:3: Return value (type int) ignored: > seterr(p, (8)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:586:11: > Right operand of << may be negative (int): 1 << CHAR_BIT > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:587:11: > Right operand of << may be negative (int): 1 << CHAR_BIT > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:588:11: > Right operand of << may be negative (int): 1 << CHAR_BIT > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:589:11: > Right operand of << may be negative (int): 1 << CHAR_BIT > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:590:11: > Right operand of << may be negative (int): 1 << CHAR_BIT > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:591:11: > Right operand of << may be negative (int): 1 << CHAR_BIT > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:592:11: > Right operand of << may be negative (int): 1 << CHAR_BIT > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:593:11: > Right operand of << may be negative (int): 1 << CHAR_BIT > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:594:11: > Right operand of << may be negative (int): 1 << CHAR_BIT > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:595:15: > Right operand of << may be negative (int): 1 << CHAR_BIT > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:595:7: > Incompatible types for - (int, char): (c & ~(1 << CHAR_BIT)) - '0' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:598:11: > Operands of <= have incompatible types (int, size_t): i <= p->g->nsub > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:606:4: Return value (type int) ignored: > seterr(p, (6)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:610:4: > Operands of || are non-boolean (int): (starordinary) || seterr(p, (13)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:612:10: > Fall through case (no preceding break) > Execution falls through from the previous case. (Use -casebreak to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:613:24: > Right operand of << may be negative (int): 1 << CHAR_BIT > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:617:6: > Test expression for if not boolean, type int: > ((((p->next < p->end) && (*p->next) == ('*'))) ? ((p->next++), 1) : 0) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:619:43: > Function doinsert expects arg 3 to be size_t gets long int: > (p->slen) - (pos) + 1 > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:621:44: > Function doinsert expects arg 3 to be size_t gets long int: > (p->slen) - (pos) + 1 > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:623:13: > Test expression for if not boolean, type int: > ((((p->next < p->end) && (p->next + 1 < p->end) && (*p->next) == ('\\') && > (*(p->next + 1)) == ('{'))) ? ((p->next += 2), 1) : 0) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:625:7: > Test expression for if not boolean, type int: > ((((p->next < p->end) && (*p->next) == (','))) ? ((p->next++), 1) : 0) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:628:27: > Right operand of || is non-boolean (int): > (count <= count2) || seterr(p, (10)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:630:5: Assignment of float to int: > count2 = INFINITY > To allow all numeric types to match, use +relaxtypes. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:634:8: Operand of ! is non-boolean (int): > !((((p->next < p->end) && (p->next + 1 < p->end) && (*p->next) == ('\\') && > (*(p->next + 1)) == ('}'))) ? ((p->next += 2), 1) : 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-NLDAPsdk-8.8/hsregex/regcomp.c:637:29: > Right operand of || is non-boolean (int): > ((p->next < p->end)) || seterr(p, (9)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:638:4: Return value (type int) ignored: > seterr(p, (10)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:640:13: > Operands of == have incompatible types (int, unsigned char): > c == (unsigned char)'$' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function p_count) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:658:11: > Incompatible types for + (int, char): count * 10 + ((*p->next++) - '0') > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:662:36: > Right operand of || is non-boolean (int): > (ndigits > 0 && count <= 255) || seterr(p, (10)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c: (in function p_bracket) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:685:10: > Fresh storage cs 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-NLDAPsdk-8.8/hsregex/regcomp.c:678:34: Fresh storage cs created >novell-NLDAPsdk-8.8/hsregex/regcomp.c:690:10: > Fresh storage cs 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-NLDAPsdk-8.8/hsregex/regcomp.c:678:34: Fresh storage cs created >novell-NLDAPsdk-8.8/hsregex/regcomp.c:693:6: > Test expression for if not boolean, type int: > ((((p->next < p->end) && (*p->next) == ('^'))) ? ((p->next++), 1) : 0) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:695:6: > Test expression for if not boolean, type int: > ((((p->next < p->end) && (*p->next) == (']'))) ? ((p->next++), 1) : 0) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:696:4: > Array fetch using non-integer, uch: (cs)->ptr[(uch)(']')] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:696:42: > Incompatible types for += (uch, char): (cs)->hash += (']') > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/hsregex/regcomp.c:697:11: > Test expression for if not boolean, type int: > ((((p->next < p->end) && (*p->next) == ('-'))) ? ((p->next++), 1) : 0) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:698:4: > Array fetch using non-integer, uch: (cs)->ptr[(uch)('-')] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:698:42: > Incompatible types for += (uch, char): (cs)->hash += ('-') > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/hsregex/regcomp.c:701:6: > Test expression for if not boolean, type int: > ((((p->next < p->end) && (*p->next) == ('-'))) ? ((p->next++), 1) : 0) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:702:4: > Array fetch using non-integer, uch: (cs)->ptr[(uch)('-')] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:702:42: > Incompatible types for += (uch, char): (cs)->hash += ('-') > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/hsregex/regcomp.c:703:53: > Right operand of || is non-boolean (int): > ((p->next < p->end) && (*p->next++) == (']')) || seterr(p, (7)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:706:10: > Fresh storage cs 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-NLDAPsdk-8.8/hsregex/regcomp.c:678:34: Fresh storage cs created >novell-NLDAPsdk-8.8/hsregex/regcomp.c:708:6: > Test expression for if not boolean, type int: p->g->cflags & 0002 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:713:9: > Array fetch using non-integer, uch: (cs)->ptr[(uch)(i)] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:713:8: > Left operand of && is non-boolean (uch): > ((cs)->ptr[(uch)(i)] & (cs)->mask) && isalpha(i) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:714:5: Assignment of char to int: > ci = othercase(i) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:716:7: > Array fetch using non-integer, uch: (cs)->ptr[(uch)(ci)] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:716:44: > Incompatible types for += (uch, int): (cs)->hash += (ci) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:721:6: > Test expression for if not boolean, type int: invert > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:725:9: > Array fetch using non-integer, uch: (cs)->ptr[(uch)(i)] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:725:8: > Test expression for if not boolean, type uch: > ((cs)->ptr[(uch)(i)] & (cs)->mask) > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:726:6: > Array fetch using non-integer, uch: (cs)->ptr[(uch)(i)] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:726:43: > Incompatible types for -= (uch, int): (cs)->hash -= (i) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:728:6: > Array fetch using non-integer, uch: (cs)->ptr[(uch)(i)] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:728:42: > Incompatible types for += (uch, int): (cs)->hash += (i) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:729:7: > Test expression for if not boolean, type int: p->g->cflags & 0010 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:730:5: > Array fetch using non-integer, uch: (cs)->ptr[(uch)('\n')] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:730:45: > Incompatible types for -= (uch, char): (cs)->hash -= ('\n') > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/hsregex/regcomp.c:737:13: > Null storage cs->multis derivable from parameter nch (..., cs) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:742:2: > Fresh storage cs not released before scope exit > 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-NLDAPsdk-8.8/hsregex/regcomp.c:678:34: Fresh storage cs created >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function p_b_term) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:763:3: Return value (type int) ignored: > seterr(p, (11)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:765:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:774:28: > Right operand of || is non-boolean (int): > ((p->next < p->end)) || seterr(p, (7)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:776:30: > Right operand of || is non-boolean (int): > (c != '-' && c != ']') || seterr(p, (4)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:778:28: > Right operand of || is non-boolean (int): > ((p->next < p->end)) || seterr(p, (7)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:779:4: > Operands of || are non-boolean (int): > (((((p->next < p->end) && (p->next + 1 < p->end) && (*p->next) == (':') && > (*(p->next + 1)) == (']'))) ? ((p->next += 2), 1) : 0)) || seterr(p, (4)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:783:28: > Right operand of || is non-boolean (int): > ((p->next < p->end)) || seterr(p, (7)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:785:30: > Right operand of || is non-boolean (int): > (c != '-' && c != ']') || seterr(p, (3)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:787:28: > Right operand of || is non-boolean (int): > ((p->next < p->end)) || seterr(p, (7)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:788:4: > Operands of || are non-boolean (int): > (((((p->next < p->end) && (p->next + 1 < p->end) && (*p->next) == ('=') && > (*(p->next + 1)) == (']'))) ? ((p->next += 2), 1) : 0)) || seterr(p, (3)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:796:8: > Test expression for if not boolean, type int: > ((((p->next < p->end) && (*p->next) == ('-'))) ? ((p->next++), 1) : 0) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:803:25: > Right operand of || is non-boolean (int): > (start <= finish) || seterr(p, (11)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:804:8: Assignment of char to int: > i = start > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:804:19: > Operands of <= have incompatible types (int, char): i <= finish > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:805:5: > Array fetch using non-integer, uch: (cs)->ptr[(uch)(i)] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:805:41: > Incompatible types for += (uch, int): (cs)->hash += (i) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:804:19: > Incompatible types for <= (int, char) (in post loop test): i <= finish > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function p_b_cclass) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:827:2: Assignment of int to size_t: > len = p->next - sp > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:833:3: Return value (type int) ignored: > seterr(p, (4)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:839:4: > Array fetch using non-integer, uch: (cs)->ptr[(uch)(c)] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:839:40: > Incompatible types for += (uch, char): (cs)->hash += (c) > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function p_b_eclass) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:857:23: > Function p_b_coll_elem expects arg 2 to be int gets char: '=' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:858:3: > Array fetch using non-integer, uch: (cs)->ptr[(uch)(c)] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:858:39: > Incompatible types for += (uch, char): (cs)->hash += (c) > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function p_b_symbol) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:871:27: > Right operand of || is non-boolean (int): > ((p->next < p->end)) || seterr(p, (7)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:872:7: Operand of ! is non-boolean (int): > !((((p->next < p->end) && (p->next + 1 < p->end) && (*p->next) == ('[') && > (*(p->next + 1)) == ('.'))) ? ((p->next += 2), 1) : 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-NLDAPsdk-8.8/hsregex/regcomp.c:876:27: > Function p_b_coll_elem expects arg 2 to be int gets char: '.' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:877:3: > Operands of || are non-boolean (int): > (((((p->next < p->end) && (p->next + 1 < p->end) && (*p->next) == ('.') && > (*(p->next + 1)) == (']'))) ? ((p->next += 2), 1) : 0)) || seterr(p, (3)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c: (in function p_b_coll_elem) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:895:79: > Operands of == have incompatible types (char, int): (*p->next) == (endc) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:898:3: Return value (type int) ignored: > seterr(p, (7)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:899:9: > Return value type int does not match declared type char: (0) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:903:29: > Function strncmp expects arg 3 to be size_t gets int: len > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:907:2: Return value (type int) ignored: > seterr(p, (3)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:908:8: > Return value type int does not match declared type char: (0) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function othercase) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:925:9: > Return value type int does not match declared type char: (ch) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function bothcases) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:943:9: > Operands of != have incompatible types (char, int): othercase(ch) != ch > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:946:2: Assignment of int to char: > bracket[0] = ch > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:949:12: > Storage p->next reachable from passed parameter is stack (should be > implicitly only): p > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:944:2: > Storage p->next becomes stack-allocated storage >novell-NLDAPsdk-8.8/hsregex/regcomp.c:949:12: > Storage p->end reachable from passed parameter is stack (should be > implicitly only): p > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:945:2: > Storage p->end becomes stack-allocated storage >novell-NLDAPsdk-8.8/hsregex/regcomp.c:949:12: > Passed storage *p contains 2 undefined fields: next, end > 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-NLDAPsdk-8.8/hsregex/regcomp.c:951:2: > Implicitly only storage p->next (type char *) not released before > assignment: p->next = oldnext > 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-NLDAPsdk-8.8/hsregex/regcomp.c:952:2: > Implicitly only storage p->end (type char *) not released before > assignment: p->end = oldend > 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-NLDAPsdk-8.8/hsregex/regcomp.c:953:2: > Stack-allocated storage p->next reachable from parameter p > A stack reference is pointed to by an external reference when the function > returns. The stack-allocated storage is destroyed after the call, leaving a > dangling reference. (Use -stackref to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:951:2: > Storage p->next becomes stack-allocated storage >novell-NLDAPsdk-8.8/hsregex/regcomp.c:953:2: > Storage p->next reachable from parameter is stack (should be implicitly > only) > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:951:2: > Storage p->next becomes stack-allocated storage >novell-NLDAPsdk-8.8/hsregex/regcomp.c:953:2: > Stack-allocated storage p->end reachable from parameter p > A stack reference is pointed to by an external reference when the function > returns. The stack-allocated storage is destroyed after the call, leaving a > dangling reference. (Use -stackref to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:952:2: > Storage p->end becomes stack-allocated storage >novell-NLDAPsdk-8.8/hsregex/regcomp.c:953:2: > Storage p->end reachable from parameter is stack (should be implicitly > only) > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:952:2: > Storage p->end becomes stack-allocated storage >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function ordinary) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:966:6: > Left operand of && is non-boolean (int): > (p->g->cflags & 0002) && isalpha(ch) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:966:44: > Operands of != have incompatible types (char, int): othercase(ch) != ch > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:970:7: > Operands of == have incompatible types (cat_t, int): cap[ch] == 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:971:4: Assignment of int to cat_t: > cap[ch] = p->g->ncategories++ > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function nonnewline) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:995:12: > Storage p->next reachable from passed parameter is stack (should be > implicitly only): p > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:989:2: > Storage p->next becomes stack-allocated storage >novell-NLDAPsdk-8.8/hsregex/regcomp.c:995:12: > Storage p->end reachable from passed parameter is stack (should be > implicitly only): p > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:990:2: > Storage p->end becomes stack-allocated storage >novell-NLDAPsdk-8.8/hsregex/regcomp.c:995:12: > Passed storage *p contains 2 undefined fields: next, end > 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-NLDAPsdk-8.8/hsregex/regcomp.c:997:2: > Implicitly only storage p->next (type char *) not released before > assignment: p->next = oldnext > 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-NLDAPsdk-8.8/hsregex/regcomp.c:998:2: > Implicitly only storage p->end (type char *) not released before > assignment: p->end = oldend > 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-NLDAPsdk-8.8/hsregex/regcomp.c:999:2: > Stack-allocated storage p->next reachable from parameter p > A stack reference is pointed to by an external reference when the function > returns. The stack-allocated storage is destroyed after the call, leaving a > dangling reference. (Use -stackref to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:997:2: > Storage p->next becomes stack-allocated storage >novell-NLDAPsdk-8.8/hsregex/regcomp.c:999:2: > Storage p->next reachable from parameter is stack (should be implicitly > only) > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:997:2: > Storage p->next becomes stack-allocated storage >novell-NLDAPsdk-8.8/hsregex/regcomp.c:999:2: > Stack-allocated storage p->end reachable from parameter p > A stack reference is pointed to by an external reference when the function > returns. The stack-allocated storage is destroyed after the call, leaving a > dangling reference. (Use -stackref to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:998:2: > Storage p->end becomes stack-allocated storage >novell-NLDAPsdk-8.8/hsregex/regcomp.c:999:2: > Storage p->end reachable from parameter is stack (should be implicitly > only) > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:998:2: > Storage p->end becomes stack-allocated storage >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function repeat) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1024:39: > Dangerous comparison involving float types: (from) == INFINITY > Two real (float, double, or long double) values are compared directly using a > C primitive. This may produce unexpected results since floating point > representations are inexact. Instead, compare the difference to FLT_EPSILON > or DBL_EPSILON. (Use -realcompare to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1024:39: > Operands of == have incompatible types (int, float): (from) == INFINITY > To allow all numeric types to match, use +relaxtypes. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1024:98: > Dangerous comparison involving float types: (to) == INFINITY > Two real (float, double, or long double) values are compared directly using a > C primitive. This may produce unexpected results since floating point > representations are inexact. Instead, compare the difference to FLT_EPSILON > or DBL_EPSILON. (Use -realcompare to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1024:98: > Operands of == have incompatible types (int, float): (to) == INFINITY > To allow all numeric types to match, use +relaxtypes. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1032:44: > Function doinsert expects arg 3 to be size_t gets long int: > (p->slen) - (start) + 1 > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1035:19: > Function dofwd expects arg 3 to be sop gets long int: (p->slen) - (start) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1037:27: > Function dofwd expects arg 3 to be sop gets long int: > (p->slen) - ((p->slen - 1)) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1045:44: > Function doinsert expects arg 3 to be size_t gets long int: > (p->slen) - (start) + 1 > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1047:19: > Function dofwd expects arg 3 to be sop gets long int: (p->slen) - (start) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1049:27: > Function dofwd expects arg 3 to be sop gets long int: > (p->slen) - ((p->slen - 1)) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1056:43: > Function doinsert expects arg 3 to be size_t gets long int: > (p->slen) - (start) + 1 > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1068:3: Return value (type int) ignored: > seterr(p, (15)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c: (in function seterr) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1084:2: > Implicitly only storage p->next (type char *) not released before > assignment: p->next = nuls > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1084:2: > Unqualified static storage nuls assigned to implicitly only: p->next = nuls > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1085:2: > Implicitly only storage p->end (type char *) not released before > assignment: p->end = nuls > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1086:12: > Function returns with global nuls referencing kept storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:1084:2: Storage nuls becomes kept >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function allocset) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1106:3: Assignment of int to size_t: > nc = p->ncsalloc > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1121:5: > Index of possibly null pointer p->g->sets: p->g->sets > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:1110:17: > Storage p->g->sets may become null >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1121:5: > Dependent storage p->g->setbits assigned to implicitly only: > p->g->sets[i].ptr = p->g->setbits + css * (i / CHAR_BIT) > Dependent storage is transferred to a non-dependent reference. (Use > -dependenttrans to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:1121:25: > Storage p->g->setbits becomes dependent >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1121:5: > Storage p->g->setbits is kept 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-NLDAPsdk-8.8/hsregex/regcomp.c:1121:5: > Storage p->g->setbits becomes kept > novell-NLDAPsdk-8.8/hsregex/regcomp.c:1117:4: Storage p->g->setbits defined >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1128:11: > Possibly null storage p->g->sets derivable from parameter seterr (p, ...) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1110:17: > Storage p->g->sets may become null >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1128:11: > Passed storage *(p->g->sets) contains 5 undefined fields: > ptr, mask, hash, smultis, multis > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1128:11: > Possibly null storage p->g->setbits derivable from parameter seterr (p, > ...) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1115:20: > Storage p->g->setbits may become null >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1128:11: > Passed storage *(p->g) contains 1 undefined field: setbits > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1128:4: Return value (type int) ignored: > seterr(p, (12)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1136:18: > Right operand of << may be negative (int): 1 << ((no) % CHAR_BIT) > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1136:2: Assignment of int to uch: > cs->mask = 1 << ((no) % CHAR_BIT) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1137:2: Assignment of int to uch: > cs->hash = 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1141:8: > Immediate address &p->g->sets[] returned as implicitly only (cs aliases > &p->g->sets[]): (cs) > An immediate address (result of & operator) is transferred inconsistently. > (Use -immediatetrans to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1141:8: > Null storage cs->multis derivable from return value: (cs) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1139:15: > Storage cs->multis becomes null >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1141:8: > Returned storage *cs contains 1 undefined field: ptr > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1141:13: > Function returns with null storage derivable from parameter > p->g->sets[].multis > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1139:15: > Storage p->g->sets[].multis becomes null >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1141:13: > Storage p->g->sets[] reachable from parameter contains 1 undefined field: > ptr > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1141:13: > Storage p->g->setbits reachable from parameter is kept (should be > implicitly only) > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:1135:2: > Storage p->g->setbits becomes kept >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1141:13: > Function returns with possibly null storage derivable from parameter > p->g->setbits > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1115:20: > Storage p->g->setbits may become null >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1141:13: > Storage *(p->g) reachable from parameter contains 1 undefined field: > setbits > 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-NLDAPsdk-8.8/hsregex/regcomp.c: (in function freeset) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1158:4: > Array fetch using non-integer, uch: (cs)->ptr[(uch)(i)] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1158:41: > Incompatible types for -= (uch, size_t): (cs)->hash -= (i) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function freezeset) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1189:12: > Array fetch using non-integer, uch: (cs2)->ptr[(uch)(i)] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1189:11: > Operand of ! is non-boolean (uch): !((cs2)->ptr[(uch)(i)] & (cs2)->mask) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1189:55: > Array fetch using non-integer, uch: (cs)->ptr[(uch)(i)] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1189:54: > Operand of ! is non-boolean (uch): !((cs)->ptr[(uch)(i)] & (cs)->mask) > 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-NLDAPsdk-8.8/hsregex/regcomp.c: (in function firstch) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1216:8: > Array fetch using non-integer, uch: (cs)->ptr[(uch)(i)] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1216:7: > Test expression for if not boolean, type uch: > ((cs)->ptr[(uch)(i)] & (cs)->mask) > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1217:10: > Return value type char does not match declared type int: ((char)i) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function nch) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1236:8: > Array fetch using non-integer, uch: (cs)->ptr[(uch)(i)] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1236:7: > Test expression for if not boolean, type uch: > ((cs)->ptr[(uch)(i)] & (cs)->mask) > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function mcadd) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1260:3: Return value (type int) ignored: > seterr(p, (12)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1261:10: > Function returns with possibly null storage derivable from parameter > cs->multis > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1256:16: > Storage cs->multis may become null >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1261:10: > Storage *cs reachable from parameter contains 1 undefined field: multis > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1264:16: > Parameter 1 (cs->multis + oldend - 1) to function strcpy is declared unique > but may be aliased externally by parameter 2 (cp) > A unique or only parameter may be aliased by some other parameter or visible > global. (Use -mayaliasunique to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function mcsub) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1281:2: > New fresh storage fp (type void) cast to void (not released): > (void)memmove(fp, fp + len + 1, cs->smultis - (fp + len + 1 - cs->multis)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1288:10: > Fresh storage fp 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-NLDAPsdk-8.8/hsregex/regcomp.c:1277:37: Fresh storage fp created >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1288:10: > Function returns with null storage derivable from parameter cs->multis > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1287:16: > Storage cs->multis becomes null >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1293:2: > Fresh storage fp not released before scope exit > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1277:37: Fresh storage fp created >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function mcin) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1304:8: > Return value type boolean does not match declared type int: > (mcfind(cs, cp) != NULL) > To make bool and int types equivalent, use +boolint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function mcfind) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1319:9: > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1322:14: > Released storage cs->multis 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-NLDAPsdk-8.8/hsregex/regcomp.c:1322:10: Storage cs->multis released >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1323:8: > 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-NLDAPsdk-8.8/hsregex/regcomp.c: (in function mcinvert) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1334:10: Parameter p 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-NLDAPsdk-8.8/hsregex/regcomp.c: (in function mccase) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1349:8: Parameter p 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-NLDAPsdk-8.8/hsregex/regcomp.c: (in function isinsets) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1368:25: > Variable uc initialized to type unsigned char, expects unsigned int: > (unsigned char)c > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1371:7: > Operands of != have incompatible types (uch, int): col[uc] != 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function samesets) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1389:26: > Variable uc1 initialized to type unsigned char, expects unsigned int: > (unsigned char)c1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1390:26: > Variable uc2 initialized to type unsigned char, expects unsigned int: > (unsigned char)c2 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function categorize) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1416:7: Assignment of char to int: > c = CHAR_MIN > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1416:21: > Operands of <= have incompatible types (int, char): c <= CHAR_MAX > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1417:7: > Operands of == have incompatible types (cat_t, int): cats[c] == 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1417:23: > Right operand of && is non-boolean (int): cats[c] == 0 && isinsets(g, c) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1418:4: Assignment of int to cat_t: > cat = g->ncategories++ > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1420:19: > Operands of <= have incompatible types (int, char): c2 <= CHAR_MAX > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1421:9: > Operands of == have incompatible types (cat_t, int): cats[c2] == 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1421:26: > Right operand of && is non-boolean (int): > cats[c2] == 0 && samesets(g, c, c2) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1420:19: > Incompatible types for <= (int, char) (in post loop test): c2 <= CHAR_MAX > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1416:21: > Incompatible types for <= (int, char) (in post loop test): c <= CHAR_MAX > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function dupl) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1444:16: > Parameter 1 ((char *)(p->strip + p->slen)) to function memcpy is declared > unique but is aliased by parameter 2 ((char *)(p->strip + start)) > A unique or only parameter is aliased by some other parameter or visible > global. (Use -aliasunique to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function doemit) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1469:9: > Operands of < have incompatible types (size_t, unsigned int): > opnd < 1 << ((unsigned int)27) > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function doinsert) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1516:7: > Function memmove expects arg 3 to be size_t gets long int: > ((p->slen) - pos - 1) * sizeof(sop) > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function enlarge) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1552:32: > Function realloc expects arg 2 to be size_t gets long int: > size * sizeof(sop) > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1554:10: > Released storage p->strip reachable from passed parameter > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1552:22: Storage p->strip released >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1554:3: Return value (type int) ignored: > seterr(p, (12)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1555:10: > Released storage p->strip 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-NLDAPsdk-8.8/hsregex/regcomp.c:1552:22: Storage p->strip released >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1559:2: > Storage p->strip reachable from parameter is kept (should be implicitly > only) > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:1557:2: Storage p->strip becomes kept >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function stripsnug) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1571:46: > Function realloc expects arg 2 to be size_t gets long int: > p->slen * sizeof(sop) > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1571:2: > Implicitly only storage g->strip (type sop *) not released before > assignment: g->strip = (sop *)realloc((char *)p->strip, p->slen * > sizeof(sop)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1573:10: > Storage p->strip reachable from passed parameter is kept (should be > implicitly only): p > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:1571:2: Storage p->strip becomes kept >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1573:10: > Released storage p->strip reachable from passed parameter > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1571:28: Storage p->strip released >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1573:3: Return value (type int) ignored: > seterr(p, (12)) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1574:14: > Field p->strip 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-NLDAPsdk-8.8/hsregex/regcomp.c:1571:28: Storage p->strip released >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1575:2: > Clauses exit with g->strip referencing kept storage in true branch, > implicitly only 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-NLDAPsdk-8.8/hsregex/regcomp.c:1574:3: Storage g->strip becomes kept >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1576:2: > Storage p->strip reachable from parameter is kept (should be implicitly > only) > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:1571:2: Storage p->strip becomes kept >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1576:2: > Released storage p->strip 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-NLDAPsdk-8.8/hsregex/regcomp.c:1571:28: Storage p->strip released >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1576:2: > Function returns with possibly null storage derivable from parameter > g->strip > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1571:13: > Storage g->strip may become null >novell-NLDAPsdk-8.8/hsregex/regcomp.c: (in function findmust) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1634:11: > Fall through case (no preceding break) > Execution falls through from the previous case. (Use -casebreak to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1636:13: > Variable newstart 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-NLDAPsdk-8.8/hsregex/regcomp.c:1637:5: Assignment of sopno to int: > g->mlen = newlen > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1648:2: > Implicitly only storage g->must (type char *) not released before > assignment: g->must = malloc((size_t)g->mlen + 1) > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1651:10: > Function returns with possibly null storage derivable from parameter > g->must > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1648:12: > Storage g->must may become null >novell-NLDAPsdk-8.8/hsregex/regcomp.c:1651:10: > Storage *g reachable from parameter contains 1 undefined field: must > 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-NLDAPsdk-8.8/hsregex/regcomp.c:1654:9: > Variable start 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-NLDAPsdk-8.8/hsregex/regcomp.c:1663:2: > Storage *g reachable from parameter contains 1 undefined field: must > 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-NLDAPsdk-8.8/hsregex/regcomp.c:107:13: > File static function mcsub declared but not used > A function is declared but not used. Use /*@unused@*/ in front of function > header to suppress message. (Use -fcnuse to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:1274:9: Definition of mcsub >novell-NLDAPsdk-8.8/hsregex/regcomp.c:108:12: > File static function mcin declared but not used > A function is declared but not used. Use /*@unused@*/ in front of function > header to suppress message. (Use -fcnuse to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/regcomp.c:1301:9: Definition of mcin > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/hsregex/regexec.c ] >novell-NLDAPsdk-8.8/hsregex/regex.h:53:1: Macro __const already defined > A macro is defined in more than one place. > /usr/include/sys/cdefs.h:65: Previous definition of __const >novell-NLDAPsdk-8.8/hsregex/regex.h:56:1: Macro __P already defined > A macro is defined in more than one place. > /usr/include/sys/cdefs.h:73: Previous definition of __P >novell-NLDAPsdk-8.8/hsregex/engine.c: (in function smatcher) >novell-NLDAPsdk-8.8/hsregex/engine.c:158:6: > Test expression for if not boolean, type int: g->cflags & 0004 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:160:6: > Test expression for if not boolean, type int: eflags & 00004 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:186:2: > Kept storage string assigned to implicitly only (start aliases string): > m->beginp = start > storage is transferred to a non-temporary reference after being passed as > keep parameter. The storage may be released or new aliases created. (Use > -kepttrans to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/engine.c:185:2: Storage string becomes kept >novell-NLDAPsdk-8.8/hsregex/engine.c:186:2: > Kept storage start assigned to implicitly only: m->beginp = start > storage is transferred to a non-temporary reference after being passed as > keep parameter. The storage may be released or new aliases created. (Use > -kepttrans to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/engine.c:185:2: Storage start becomes kept >novell-NLDAPsdk-8.8/hsregex/engine.c:187:2: > Kept storage string assigned to implicitly only (stop aliases string): > m->endp = stop > storage is transferred to a non-temporary reference after being passed as > keep parameter. The storage may be released or new aliases created. (Use > -kepttrans to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/engine.c:185:2: Storage string becomes kept >novell-NLDAPsdk-8.8/hsregex/engine.c:187:2: > Kept storage stop assigned to implicitly only: m->endp = stop > storage is transferred to a non-temporary reference after being passed as > keep parameter. The storage may be released or new aliases created. (Use > -kepttrans to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/engine.c:185:2: Storage stop becomes kept >novell-NLDAPsdk-8.8/hsregex/engine.c:197:16: > Possibly null storage m->g->must derivable from parameter sfast (m, ...) > 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-NLDAPsdk-8.8/hsregex/engine.c:197:16: > Null storage m->pmatch derivable from parameter sfast (m, ...) > 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-NLDAPsdk-8.8/hsregex/engine.c:183:14: Storage m->pmatch becomes null >novell-NLDAPsdk-8.8/hsregex/engine.c:197:16: > Storage m->offp reachable from passed parameter is kept (should be > implicitly only): m > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/engine.c:186:2: Storage m->offp becomes kept >novell-NLDAPsdk-8.8/hsregex/engine.c:197:16: > Storage m->beginp reachable from passed parameter is kept (should be > implicitly only): m > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/engine.c:187:2: Storage m->beginp becomes kept >novell-NLDAPsdk-8.8/hsregex/engine.c:197:16: > Null storage m->lastpos derivable from parameter sfast (m, ...) > 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-NLDAPsdk-8.8/hsregex/engine.c:184:15: Storage m->lastpos becomes null >novell-NLDAPsdk-8.8/hsregex/engine.c:197:16: > Passed storage *m contains 2 undefined fields: coldp, dummy > 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-NLDAPsdk-8.8/hsregex/engine.c:202:23: Operand of ! is non-boolean (int): > !g->backrefs > 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-NLDAPsdk-8.8/hsregex/engine.c:209:4: > Fresh storage endp (type char *) not released before assignment: > endp = sslow(m, m->coldp, stop, gf, gl) > 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-NLDAPsdk-8.8/hsregex/engine.c:197:3: Fresh storage endp created >novell-NLDAPsdk-8.8/hsregex/engine.c:215:23: Operand of ! is non-boolean (int): > !g->backrefs > 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-NLDAPsdk-8.8/hsregex/engine.c:224:15: > Fresh storage endp 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-NLDAPsdk-8.8/hsregex/engine.c:197:3: Fresh storage endp created >novell-NLDAPsdk-8.8/hsregex/engine.c:228:8: Operand of ! is non-boolean (int): > !g->backrefs > 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-NLDAPsdk-8.8/hsregex/engine.c:228:24: Operand of ! is non-boolean (int): > !(m->eflags & 02000) > 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-NLDAPsdk-8.8/hsregex/engine.c:230:18: > Passed storage *(m->pmatch) contains 2 undefined fields: rm_so, rm_eo > 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-NLDAPsdk-8.8/hsregex/engine.c:233:34: > Function malloc expects arg 1 to be size_t gets long int: > (g->nplus + 1) * sizeof(char *) > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:233:5: > Implicitly only storage m->lastpos (type char **) not released before > assignment: m->lastpos = (char **)malloc((g->nplus + 1) * sizeof(char *)) > 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-NLDAPsdk-8.8/hsregex/engine.c:238:16: > Only storage mv.g (type struct re_guts *) 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-NLDAPsdk-8.8/hsregex/engine.c:238:16: > Only storage mv.offp (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-NLDAPsdk-8.8/hsregex/engine.c:238:16: > Only storage mv.beginp (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-NLDAPsdk-8.8/hsregex/engine.c:238:16: > Only storage mv.endp (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-NLDAPsdk-8.8/hsregex/engine.c:238:16: > Only storage mv.lastpos (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-NLDAPsdk-8.8/hsregex/engine.c:238:16: > Fresh storage endp 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-NLDAPsdk-8.8/hsregex/engine.c:197:3: Fresh storage endp created >novell-NLDAPsdk-8.8/hsregex/engine.c:241:18: > Passed storage *(m->pmatch) contains 2 undefined fields: rm_so, rm_eo > 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-NLDAPsdk-8.8/hsregex/engine.c:253:4: > Fresh storage endp (type char *) not released before assignment: > endp = sslow(m, m->coldp, endp - 1, gf, gl) > 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-NLDAPsdk-8.8/hsregex/engine.c:197:3: Fresh storage endp created >novell-NLDAPsdk-8.8/hsregex/engine.c:279:21: > Variable endp 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-NLDAPsdk-8.8/hsregex/engine.c:293:3: > Storage mv.pmatch 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-NLDAPsdk-8.8/hsregex/engine.c:293:8: Storage mv.pmatch released > novell-NLDAPsdk-8.8/hsregex/engine.c:183:2: Storage mv.pmatch defined >novell-NLDAPsdk-8.8/hsregex/engine.c:297:12: > Fresh storage endp 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-NLDAPsdk-8.8/hsregex/engine.c:197:3: Fresh storage endp created >novell-NLDAPsdk-8.8/hsregex/engine.c:297:12: > Only storage mv.g (type struct re_guts *) 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-NLDAPsdk-8.8/hsregex/engine.c:297:12: > Only storage mv.offp (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-NLDAPsdk-8.8/hsregex/engine.c:297:12: > Only storage mv.beginp (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-NLDAPsdk-8.8/hsregex/engine.c:297:12: > Only storage mv.endp (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-NLDAPsdk-8.8/hsregex/engine.c:297:12: > Only storage start 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-NLDAPsdk-8.8/hsregex/engine.c:297:12: Storage start becomes only >novell-NLDAPsdk-8.8/hsregex/engine.c: (in function sdissect) >novell-NLDAPsdk-8.8/hsregex/engine.c:383:21: > Variable rest 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-NLDAPsdk-8.8/hsregex/engine.c:409:25: > Variable rest 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-NLDAPsdk-8.8/hsregex/engine.c:415:8: Variable sep 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-NLDAPsdk-8.8/hsregex/engine.c:420:18: > Variable rest 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-NLDAPsdk-8.8/hsregex/engine.c:444:22: > Variable rest 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-NLDAPsdk-8.8/hsregex/engine.c:457:25: > Variable rest 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-NLDAPsdk-8.8/hsregex/engine.c:469:4: Assignment of sop to int: > i = ((m->g->strip[ss]) & 0x07ffffff) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:470:20: > Operands of <= have incompatible types (int, size_t): i <= m->g->nsub > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:474:4: Assignment of sop to int: > i = ((m->g->strip[ss]) & 0x07ffffff) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:475:20: > Operands of <= have incompatible types (int, size_t): i <= m->g->nsub > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:485:13: > Fresh storage tail 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-NLDAPsdk-8.8/hsregex/engine.c:433:5: Fresh storage tail created >novell-NLDAPsdk-8.8/hsregex/engine.c:485:13: > Fresh storage dp 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-NLDAPsdk-8.8/hsregex/engine.c:457:4: Fresh storage dp created >novell-NLDAPsdk-8.8/hsregex/engine.c: (in function sbackref) >novell-NLDAPsdk-8.8/hsregex/engine.c:520:22: Operand of ! is non-boolean (int): > !hard > 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-NLDAPsdk-8.8/hsregex/engine.c:524:11: 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-NLDAPsdk-8.8/hsregex/engine.c:528:11: 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-NLDAPsdk-8.8/hsregex/engine.c:533:24: > Array fetch using non-integer, uch: (cs)->ptr[(uch)(*sp++)] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:533:23: Operand of ! is non-boolean (uch): > !((cs)->ptr[(uch)(*sp++)] & (cs)->mask) > 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-NLDAPsdk-8.8/hsregex/engine.c:534:11: 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-NLDAPsdk-8.8/hsregex/engine.c:537:30: Operand of ! is non-boolean (int): > !(m->eflags & 00001) > 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-NLDAPsdk-8.8/hsregex/engine.c:539:7: > Right operand of && is non-boolean (int): > sp < m->endp && *(sp - 1) == '\n' && (m->g->cflags & 0010) > 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-NLDAPsdk-8.8/hsregex/engine.c:542:11: 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-NLDAPsdk-8.8/hsregex/engine.c:545:28: Operand of ! is non-boolean (int): > !(m->eflags & 00002) > 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-NLDAPsdk-8.8/hsregex/engine.c:547:7: > Right operand of && is non-boolean (int): > sp < m->endp && *sp == '\n' && (m->g->cflags & 0010) > 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-NLDAPsdk-8.8/hsregex/engine.c:550:11: 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-NLDAPsdk-8.8/hsregex/engine.c:553:31: Operand of ! is non-boolean (int): > !(m->eflags & 00001) > 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-NLDAPsdk-8.8/hsregex/engine.c:555:7: > Right operand of && is non-boolean (int): > sp < m->endp && *(sp - 1) == '\n' && (m->g->cflags & 0010) > 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-NLDAPsdk-8.8/hsregex/engine.c:561:11: 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-NLDAPsdk-8.8/hsregex/engine.c:564:29: Operand of ! is non-boolean (int): > !(m->eflags & 00002) > 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-NLDAPsdk-8.8/hsregex/engine.c:566:7: > Right operand of && is non-boolean (int): > sp < m->endp && *sp == '\n' && (m->g->cflags & 0010) > 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-NLDAPsdk-8.8/hsregex/engine.c:571:11: 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-NLDAPsdk-8.8/hsregex/engine.c:588:7: Operand of ! is non-boolean (int): > !hard > 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-NLDAPsdk-8.8/hsregex/engine.c:590: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-NLDAPsdk-8.8/hsregex/engine.c:600:3: Assignment of sop to int: > i = ((s) & 0x07ffffff) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:601:19: > Operands of <= have incompatible types (int, size_t): i <= m->g->nsub > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:603: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-NLDAPsdk-8.8/hsregex/engine.c:605:3: Assignment of long int to size_t: > len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:606:10: > Operands of >= have incompatible types (int, size_t): > stop - m->beginp >= len > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:608: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-NLDAPsdk-8.8/hsregex/engine.c:611: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-NLDAPsdk-8.8/hsregex/engine.c:615:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:621:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:627:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:638:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:649:11: 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-NLDAPsdk-8.8/hsregex/engine.c:659:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:661:3: Assignment of sop to int: > i = ((s) & 0x07ffffff) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:662:19: > Operands of <= have incompatible types (int, size_t): i <= m->g->nsub > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:669:9: 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-NLDAPsdk-8.8/hsregex/engine.c:670:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:672:3: Assignment of sop to int: > i = ((s) & 0x07ffffff) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:673:19: > Operands of <= have incompatible types (int, size_t): i <= m->g->nsub > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:680:9: 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-NLDAPsdk-8.8/hsregex/engine.c:681:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:691: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-NLDAPsdk-8.8/hsregex/engine.c: (in function sfast) >novell-NLDAPsdk-8.8/hsregex/engine.c:711:43: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:718:16: > Right operand of << may be negative (sopno): 1 << (startst) > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:719:43: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:726:25: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:731:3: Assignment of char to int: > flagch = '\0' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:733:9: > Operands of == have incompatible types (int, char): lastc == '\n' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:733:26: > Right operand of && is non-boolean (int): > lastc == '\n' && m->g->cflags & 0010 > 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-NLDAPsdk-8.8/hsregex/engine.c:734:16: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:734:32: Operand of ! is non-boolean (int): > !(m->eflags & 00001) > 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-NLDAPsdk-8.8/hsregex/engine.c:735:15: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:738:9: > Operands of == have incompatible types (int, char): c == '\n' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:738:22: > Right operand of && is non-boolean (int): c == '\n' && m->g->cflags & 0010 > 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-NLDAPsdk-8.8/hsregex/engine.c:739:12: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:739:28: Operand of ! is non-boolean (int): > !(m->eflags & 00002) > 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-NLDAPsdk-8.8/hsregex/engine.c:740:26: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:740:47: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:740:70: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:750:21: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:750:50: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:750:85: > Operands of == have incompatible types (int, char): (lastc) == '_' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:751:13: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:751:43: > Operands of == have incompatible types (int, char): (c) == '_' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:752:16: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:754:19: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:754:53: > Operands of == have incompatible types (int, char): (lastc) == '_' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:755:19: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:755:47: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:755:78: > Operands of == have incompatible types (int, char): (c) == '_' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:756:16: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:758:20: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:758:54: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:764:21: > Right operand of << may be negative (sopno): 1 << (stopst) > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:764:7: > Left operand of || is non-boolean (long int): > ((st) & (1 << (stopst))) || p == stop > 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-NLDAPsdk-8.8/hsregex/engine.c:770:16: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:773:48: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:778:2: > Implicitly only storage m->coldp (type char *) not released before > assignment (coldp aliases start): m->coldp = coldp > 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-NLDAPsdk-8.8/hsregex/engine.c:779:20: > Right operand of << may be negative (sopno): 1 << (stopst) > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:779:6: > Test expression for if not boolean, type long int: ((st) & (1 << (stopst))) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:780:9: > Kept storage start returned as implicitly only (p aliases start): (p + 1) > storage is transferred to a non-temporary reference after being passed as > keep parameter. The storage may be released or new aliases created. (Use > -kepttrans to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/engine.c:778:2: Storage start becomes kept >novell-NLDAPsdk-8.8/hsregex/engine.c:780:9: > Kept storage p returned as implicitly only: (p + 1) > storage is transferred to a non-temporary reference after being passed as > keep parameter. The storage may be released or new aliases created. (Use > -kepttrans to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/engine.c:778:2: Storage p becomes kept >novell-NLDAPsdk-8.8/hsregex/engine.c:782:9: 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-NLDAPsdk-8.8/hsregex/engine.c: (in function sslow) >novell-NLDAPsdk-8.8/hsregex/engine.c:802:43: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:810:16: > Right operand of << may be negative (sopno): 1 << (startst) > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:812:43: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:817:25: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:820:3: Assignment of char to int: > flagch = '\0' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:822:9: > Operands of == have incompatible types (int, char): lastc == '\n' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:822:26: > Right operand of && is non-boolean (int): > lastc == '\n' && m->g->cflags & 0010 > 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-NLDAPsdk-8.8/hsregex/engine.c:823:16: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:823:32: Operand of ! is non-boolean (int): > !(m->eflags & 00001) > 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-NLDAPsdk-8.8/hsregex/engine.c:824:15: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:827:9: > Operands of == have incompatible types (int, char): c == '\n' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:827:22: > Right operand of && is non-boolean (int): c == '\n' && m->g->cflags & 0010 > 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-NLDAPsdk-8.8/hsregex/engine.c:828:12: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:828:28: Operand of ! is non-boolean (int): > !(m->eflags & 00002) > 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-NLDAPsdk-8.8/hsregex/engine.c:829:26: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:829:47: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:829:70: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:839:21: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:839:50: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:839:85: > Operands of == have incompatible types (int, char): (lastc) == '_' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:840:13: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:840:43: > Operands of == have incompatible types (int, char): (c) == '_' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:841:16: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:843:19: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:843:53: > Operands of == have incompatible types (int, char): (lastc) == '_' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:844:19: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:844:47: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:844:78: > Operands of == have incompatible types (int, char): (c) == '_' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:845:16: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:847:20: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:847:54: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:853:21: > Right operand of << may be negative (sopno): 1 << (stopst) > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:853:7: > Test expression for if not boolean, type long int: ((st) & (1 << (stopst))) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:861:16: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:864:48: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:868:8: > Null storage matchp returned as non-null: (matchp) > 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-NLDAPsdk-8.8/hsregex/engine.c:813:11: Storage matchp becomes null >novell-NLDAPsdk-8.8/hsregex/engine.c: (in function sstep) >novell-NLDAPsdk-8.8/hsregex/engine.c:902:44: > Right operand of << may be negative (sopno): (unsigned int)1 << (pc) > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:902:20: Assignment of unsigned int to int: > (here) = (unsigned int)1 << (pc) > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/hsregex/engine.c:902:71: > Left operand of <<= may be negative (int): (here) <<= 1 > The left operand to a shift operator may be negative (behavior is > implementation-defined). (Use -shiftimplementation to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:910:13: > Operands of > have incompatible types (int, char): (ch) > CHAR_MAX > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:910:33: > Operands of != have incompatible types (int, char): > ch != (char)((s) & 0x07ffffff) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:911:8: > Operands of == have incompatible types (int, char): > ch == (char)((s) & 0x07ffffff) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:915:16: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:915:43: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:919:17: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:919:47: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:923:17: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:927:17: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:931:10: > Operands of > have incompatible types (int, char): (ch) > CHAR_MAX > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:936:10: > Operands of > have incompatible types (int, char): (ch) > CHAR_MAX > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:936:31: > Array fetch using non-integer, uch: (cs)->ptr[(uch)(ch)] > To allow char types to index arrays, use +charindex. (Use +charindex to > inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:936:30: > Right operand of && is non-boolean (uch): > !((ch) > CHAR_MAX) && ((cs)->ptr[(uch)(ch)] & (cs)->mask) > 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-NLDAPsdk-8.8/hsregex/engine.c:948:4: Assignment of unsigned int to int: > i = ((aft) & ((unsigned int)here >> (((s) & 0x07ffffff)))) > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/hsregex/engine.c:950:9: Operand of ! is non-boolean (int): > !i > 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-NLDAPsdk-8.8/hsregex/engine.c:950:14: > Right operand of && is non-boolean (unsigned int): > !i && ((aft) & ((unsigned int)here >> (((s) & 0x07ffffff)))) > 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-NLDAPsdk-8.8/hsregex/engine.c:953:30: > Right operand of << may be negative (sopno): (unsigned int)1 << (pc) > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:953:6: Assignment of unsigned int to int: > (here) = (unsigned int)1 << (pc) > To ignore signs in type comparisons use +ignoresigns >novell-NLDAPsdk-8.8/hsregex/engine.c:973:8: > Test expression for if not boolean, type long int: ((aft) & (here)) > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:978:44: > Right operand of << may be negative (sopno): > ((unsigned int)(aft) & (here)) << (look) > The right operand to a shift operator may be negative (behavior undefined). > (Use -shiftnegative to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c: (in function lmatcher) >novell-NLDAPsdk-8.8/hsregex/engine.c:188:25: > Function malloc expects arg 1 to be size_t gets long int: > (4) * (m)->g->nstates > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:188:87: > Only storage mv.g (type struct re_guts *) 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-NLDAPsdk-8.8/hsregex/engine.c:188:87: > Only storage mv.offp (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-NLDAPsdk-8.8/hsregex/engine.c:188:87: > Only storage mv.beginp (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-NLDAPsdk-8.8/hsregex/engine.c:188:87: > Only storage mv.endp (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-NLDAPsdk-8.8/hsregex/engine.c:188:87: > Only storage mv.space (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-NLDAPsdk-8.8/hsregex/engine.c:189:3: > Immediate address &m->space[] assigned to implicitly only: > (m->st) = &m->space[m->vn++ * m->g->nstates] > An immediate address (result of & operator) is transferred inconsistently. > (Use -immediatetrans to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:190:3: > Immediate address &m->space[] assigned to implicitly only: > (m->fresh) = &m->space[m->vn++ * m->g->nstates] > An immediate address (result of & operator) is transferred inconsistently. > (Use -immediatetrans to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:191:3: > Immediate address &m->space[] assigned to implicitly only: > (m->tmp) = &m->space[m->vn++ * m->g->nstates] > An immediate address (result of & operator) is transferred inconsistently. > (Use -immediatetrans to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:192:3: > Immediate address &m->space[] assigned to implicitly only: > (m->empty) = &m->space[m->vn++ * m->g->nstates] > An immediate address (result of & operator) is transferred inconsistently. > (Use -immediatetrans to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:193:22: > Function memset expects arg 3 to be size_t gets sopno: m->g->nstates > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:197:16: > Possibly null storage m->g->must derivable from parameter lfast (m, ...) > 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-NLDAPsdk-8.8/hsregex/engine.c:197:16: > Null storage m->pmatch derivable from parameter lfast (m, ...) > 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-NLDAPsdk-8.8/hsregex/engine.c:183:14: Storage m->pmatch becomes null >novell-NLDAPsdk-8.8/hsregex/engine.c:197:16: > Null storage m->lastpos derivable from parameter lfast (m, ...) > 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-NLDAPsdk-8.8/hsregex/engine.c:184:15: Storage m->lastpos becomes null >novell-NLDAPsdk-8.8/hsregex/engine.c:197:16: > Storage m->st reachable from passed parameter is kept (should be implicitly > only): m > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/engine.c:190:3: Storage m->st becomes kept >novell-NLDAPsdk-8.8/hsregex/engine.c:197:16: > Storage m->fresh reachable from passed parameter is kept (should be > implicitly only): m > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/engine.c:191:3: Storage m->fresh becomes kept >novell-NLDAPsdk-8.8/hsregex/engine.c:197:16: > Storage m->tmp reachable from passed parameter is kept (should be > implicitly only): m > Storage derivable from a parameter does not match the alias kind expected for > the formal parameter. (Use -compmempass to inhibit warning) > novell-NLDAPsdk-8.8/hsregex/engine.c:192:3: Storage m->tmp becomes kept >novell-NLDAPsdk-8.8/hsregex/engine.c:197:16: > Passed storage *m contains 4 undefined fields: coldp, st, fresh, tmp > 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-NLDAPsdk-8.8/hsregex/engine.c:200:14: > Only storage mv.g (type struct re_guts *) 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-NLDAPsdk-8.8/hsregex/engine.c:200:14: > Only storage mv.offp (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-NLDAPsdk-8.8/hsregex/engine.c:200:14: > Only storage mv.beginp (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-NLDAPsdk-8.8/hsregex/engine.c:200:14: > Only storage mv.endp (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-NLDAPsdk-8.8/hsregex/engine.c:200:14: > Only storage mv.st (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-NLDAPsdk-8.8/hsregex/engine.c:200:14: > Only storage mv.fresh (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-NLDAPsdk-8.8/hsregex/engine.c:200:14: > Only storage mv.tmp (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-NLDAPsdk-8.8/hsregex/engine.c:209:4: > Fresh storage endp (type char *) not released before assignment: > endp = lslow(m, m->coldp, stop, gf, gl) > 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-NLDAPsdk-8.8/hsregex/engine.c:197:3: Fresh storage endp created >novell-NLDAPsdk-8.8/hsregex/engine.c:224:15: > Only storage mv.g (type struct re_guts *) 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-NLDAPsdk-8.8/hsregex/engine.c:224:15: > Only storage mv.pmatch (type regmatch_t *) 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-NLDAPsdk-8.8/hsregex/engine.c:224:15: > Only storage mv.offp (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-NLDAPsdk-8.8/hsregex/engine.c:224:15: > Only storage mv.beginp (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-NLDAPsdk-8.8/hsregex/engine.c:224:15: > Only storage mv.endp (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-NLDAPsdk-8.8/hsregex/engine.c:224:15: > Only storage mv.st (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-NLDAPsdk-8.8/hsregex/engine.c:224:15: > Only storage mv.fresh (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-NLDAPsdk-8.8/hsregex/engine.c:224:15: > Only storage mv.tmp (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-NLDAPsdk-8.8/hsregex/engine.c:238:16: > Only storage mv.st (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-NLDAPsdk-8.8/hsregex/engine.c:238:16: > Only storage mv.fresh (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-NLDAPsdk-8.8/hsregex/engine.c:238:16: > Only storage mv.tmp (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-NLDAPsdk-8.8/hsregex/engine.c:253:17: > Passed storage *(m->pmatch) contains 2 undefined fields: rm_so, rm_eo > 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-NLDAPsdk-8.8/hsregex/engine.c:253:4: > Fresh storage endp (type char *) not released before assignment: > endp = lslow(m, m->coldp, endp - 1, gf, gl) > 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-NLDAPsdk-8.8/hsregex/engine.c:197:3: Fresh storage endp created >novell-NLDAPsdk-8.8/hsregex/engine.c:274:2: > Storage m->offp is kept 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-NLDAPsdk-8.8/hsregex/engine.c:186:2: Storage m->offp becomes kept >novell-NLDAPsdk-8.8/hsregex/engine.c:274:2: > Storage m->st is kept 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-NLDAPsdk-8.8/hsregex/engine.c:190:3: Storage m->st becomes kept >novell-NLDAPsdk-8.8/hsregex/engine.c:274:2: > Storage m->fresh is kept 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-NLDAPsdk-8.8/hsregex/engine.c:191:3: Storage m->fresh becomes kept >novell-NLDAPsdk-8.8/hsregex/engine.c:274:2: > Storage m->tmp is kept 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-NLDAPsdk-8.8/hsregex/engine.c:192:3: Storage m->tmp becomes kept >novell-NLDAPsdk-8.8/hsregex/engine.c:278:21: > Field m->coldp 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-NLDAPsdk-8.8/hsregex/engine.c:294:6: > Field m->lastpos 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-NLDAPsdk-8.8/hsregex/engine.c:296:10: > Unallocated storage m->space passed as out parameter: (m)->space > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:297:12: > Only storage mv.st (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-NLDAPsdk-8.8/hsregex/engine.c:297:12: > Only storage mv.fresh (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-NLDAPsdk-8.8/hsregex/engine.c:297:12: > Only storage mv.tmp (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-NLDAPsdk-8.8/hsregex/engine.c: (in function lfast) >novell-NLDAPsdk-8.8/hsregex/engine.c:711:42: > Conditional clauses are not of same type: > (CHAR_MAX + 1) (int), *(start - 1) (char) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:717:16: > Function memset expects arg 3 to be size_t gets sopno: m->g->nstates > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:718:3: Assignment of int to char: > (st)[startst] = 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:720:21: > Function memcpy expects arg 3 to be size_t gets sopno: m->g->nstates > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:726:24: > Conditional clauses are not of same type: (CHAR_MAX + 1) (int), *p (char) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:727:27: > Function memcmp expects arg 3 to be size_t gets sopno: m->g->nstates > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:733:9: > Incompatible types for == (int, char): lastc == '\n' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:738:9: > Incompatible types for == (int, char): c == '\n' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:745:5: > Fresh storage st (type char *) not released before assignment: > st = lstep(m->g, startst, stopst, st, flagch, st) > 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-NLDAPsdk-8.8/hsregex/engine.c:719:2: Fresh storage st created >novell-NLDAPsdk-8.8/hsregex/engine.c:750:85: > Incompatible types for == (int, char): (lastc) == '_' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:751:43: > Incompatible types for == (int, char): (c) == '_' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:754:53: > Incompatible types for == (int, char): (lastc) == '_' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:755:78: > Incompatible types for == (int, char): (c) == '_' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:759:4: > Fresh storage st (type char *) not released before assignment: > st = lstep(m->g, startst, stopst, st, flagch, st) > 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-NLDAPsdk-8.8/hsregex/engine.c:719:2: Fresh storage st created >novell-NLDAPsdk-8.8/hsregex/engine.c:764:7: > Left operand of || is non-boolean (char): ((st)[stopst]) || p == stop > 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-NLDAPsdk-8.8/hsregex/engine.c:768:20: > Function memcpy expects arg 3 to be size_t gets sopno: m->g->nstates > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:769:22: > Function memcpy expects arg 3 to be size_t gets sopno: m->g->nstates > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:771:3: > Fresh storage st (type char *) not released before assignment: > st = lstep(m->g, startst, stopst, tmp, c, st) > 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-NLDAPsdk-8.8/hsregex/engine.c:719:2: Fresh storage st created >novell-NLDAPsdk-8.8/hsregex/engine.c:773:54: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:773:83: > Function memcmp expects arg 3 to be size_t gets sopno: m->g->nstates > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:773:18: > New fresh storage (type char *) passed as implicitly temp (not released): > lstep(m->g, startst, stopst, st, (((CHAR_MAX + 1) + 1) + 3), st) > 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-NLDAPsdk-8.8/hsregex/engine.c:779:6: > Test expression for if not boolean, type char: ((st)[stopst]) > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:780:15: > Fresh storage st 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-NLDAPsdk-8.8/hsregex/engine.c:719:2: Fresh storage st created >novell-NLDAPsdk-8.8/hsregex/engine.c:782:16: > Fresh storage st 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-NLDAPsdk-8.8/hsregex/engine.c:719:2: Fresh storage st created >novell-NLDAPsdk-8.8/hsregex/engine.c: (in function lslow) >novell-NLDAPsdk-8.8/hsregex/engine.c:802:42: > Conditional clauses are not of same type: > (CHAR_MAX + 1) (int), *(start - 1) (char) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:809:16: > Function memset expects arg 3 to be size_t gets sopno: m->g->nstates > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:810:3: Assignment of int to char: > (st)[startst] = 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:817:24: > Conditional clauses are not of same type: (CHAR_MAX + 1) (int), *p (char) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:822:9: > Incompatible types for == (int, char): lastc == '\n' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:827:9: > Incompatible types for == (int, char): c == '\n' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:834:5: > Fresh storage st (type char *) not released before assignment: > st = lstep(m->g, startst, stopst, st, flagch, st) > 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-NLDAPsdk-8.8/hsregex/engine.c:812:2: Fresh storage st created >novell-NLDAPsdk-8.8/hsregex/engine.c:839:85: > Incompatible types for == (int, char): (lastc) == '_' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:840:43: > Incompatible types for == (int, char): (c) == '_' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:843:53: > Incompatible types for == (int, char): (lastc) == '_' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:844:78: > Incompatible types for == (int, char): (c) == '_' > A character constant is used as an int. Use +charintliteral to allow > character constants to be used as ints. (This is safe since the actual type > of a char constant is int.) >novell-NLDAPsdk-8.8/hsregex/engine.c:848:4: > Fresh storage st (type char *) not released before assignment: > st = lstep(m->g, startst, stopst, st, flagch, st) > 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-NLDAPsdk-8.8/hsregex/engine.c:812:2: Fresh storage st created >novell-NLDAPsdk-8.8/hsregex/engine.c:853:7: > Test expression for if not boolean, type char: ((st)[stopst]) > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:855:27: > Function memcmp expects arg 3 to be size_t gets sopno: m->g->nstates > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:859:20: > Function memcpy expects arg 3 to be size_t gets sopno: m->g->nstates > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:860:22: > Function memcpy expects arg 3 to be size_t gets sopno: m->g->nstates > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:862:3: > Fresh storage st (type char *) not released before assignment: > st = lstep(m->g, startst, stopst, tmp, c, st) > 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-NLDAPsdk-8.8/hsregex/engine.c:812:2: Fresh storage st created >novell-NLDAPsdk-8.8/hsregex/engine.c:864:54: > Incompatible types for + (char, int): CHAR_MAX + 1 > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:864:83: > Function memcmp expects arg 3 to be size_t gets sopno: m->g->nstates > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/engine.c:864:18: > New fresh storage (type char *) passed as implicitly temp (not released): > lstep(m->g, startst, stopst, st, (((CHAR_MAX + 1) + 1) + 3), st) > 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-NLDAPsdk-8.8/hsregex/engine.c:868:17: > Fresh storage st 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-NLDAPsdk-8.8/hsregex/engine.c:812:2: Fresh storage st created >novell-NLDAPsdk-8.8/hsregex/engine.c: (in function lstep) >novell-NLDAPsdk-8.8/hsregex/engine.c:902:20: Assignment of sopno to int: > (here) = (pc) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:910:13: > Incompatible types for > (int, char): (ch) > CHAR_MAX > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:910:33: > Incompatible types for != (int, char): ch != (char)((s) & 0x07ffffff) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:911:8: > Incompatible types for == (int, char): ch == (char)((s) & 0x07ffffff) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:931:10: > Incompatible types for > (int, char): (ch) > CHAR_MAX > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:936:10: > Incompatible types for > (int, char): (ch) > CHAR_MAX > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:948:4: Assignment of char to int: > i = ((aft)[here - (((s) & 0x07ffffff))]) > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/engine.c:950:14: > Right operand of && is non-boolean (char): > !i && ((aft)[here - (((s) & 0x07ffffff))]) > 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-NLDAPsdk-8.8/hsregex/engine.c:953:6: Assignment of sopno to int: > (here) = (pc) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/engine.c:973:8: > Test expression for if not boolean, type char: ((aft)[here]) > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regexec.c: (in function regexec) >novell-NLDAPsdk-8.8/hsregex/regexec.c:171:26: > Left operand of << may be negative (char): ('r' ^ 0200) << 8 > The left operand to a shift operator may be negative (behavior is > implementation-defined). (Use -shiftimplementation to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regexec.c:171:6: > Operands of != have incompatible types (int, char): > preg->re_magic != ((('r' ^ 0200) << 8) | 'e') > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regexec.c:171:65: > Left operand of << may be negative (char): ('R' ^ 0200) << 8 > The left operand to a shift operator may be negative (behavior is > implementation-defined). (Use -shiftimplementation to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regexec.c:171:51: > Operands of != have incompatible types (int, char): > g->magic != ((('R' ^ 0200) << 8) | 'E') > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regexec.c:173:10: > Operand of ! is non-boolean (int): !(g->iflags & 04) > 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-NLDAPsdk-8.8/hsregex/regexec.c:174:6: > Test expression for if not boolean, type int: g->iflags & 04 > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/hsregex/regexec.c:178:6: > Operands of <= have incompatible types (sopno, arbitrary unsigned integral > type): g->nstates <= CHAR_BIT * sizeof(char *) > To allow arbitrary integral types to match long unsigned, use +longintegral. >novell-NLDAPsdk-8.8/hsregex/regexec.c:178:48: > Operand of ! is non-boolean (int): !(eflags & 01000) > The operand of a boolean operator is not a boolean. Use +ptrnegate to allow ! > to be used on pointers. (Use -boolops to inhibit warning) > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/hsregex/regfree.c ] >novell-NLDAPsdk-8.8/hsregex/regex.h:53:1: Macro __const already defined > A macro is defined in more than one place. > /usr/include/sys/cdefs.h:65: Previous definition of __const >novell-NLDAPsdk-8.8/hsregex/regex.h:56:1: Macro __P already defined > A macro is defined in more than one place. > /usr/include/sys/cdefs.h:73: Previous definition of __P >novell-NLDAPsdk-8.8/hsregex/regfree.c: (in function regfree) >novell-NLDAPsdk-8.8/hsregex/regfree.c:63:26: > Left operand of << may be negative (char): ('r' ^ 0200) << 8 > The left operand to a shift operator may be negative (behavior is > implementation-defined). (Use -shiftimplementation to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regfree.c:63:6: > Operands of != have incompatible types (int, char): > preg->re_magic != ((('r' ^ 0200) << 8) | 'e') > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regfree.c:67:33: > Left operand of << may be negative (char): ('R' ^ 0200) << 8 > The left operand to a shift operator may be negative (behavior is > implementation-defined). (Use -shiftimplementation to inhibit warning) >novell-NLDAPsdk-8.8/hsregex/regfree.c:67:19: > Operands of != have incompatible types (int, char): > g->magic != ((('R' ^ 0200) << 8) | 'E') > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/hsregex/regfree.c:81:2: > Released storage preg->re_g 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-NLDAPsdk-8.8/hsregex/regfree.c:80:7: Storage preg->re_g released > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c ] >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:95:23: > Static binddn initialized to null value: binddn = 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:95:23: > Static binddn initialized to null value: char * binddn = 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:96:36: > Static passwd.bv_val initialized to null value: passwd.bv_val = 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:97:24: > Static ldapuri initialized to null value: ldapuri = 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:97:24: > Static ldapuri initialized to null value: char * ldapuri = 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:98: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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:98: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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:100: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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:100: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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:101:24: > Static keyfile initialized to null value: keyfile = 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:101:24: > Static keyfile initialized to null value: char * keyfile = 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:113:19: > Static ld initialized to null value: ld = 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:113:19: > Static ld initialized to null value: LDAP * ld = 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c: (in function usage) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:228:16: > Test expression for conditional not boolean, type int: > strcmp(prog, "ldapadd") > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c: (in function main) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:251:36: Unrecognized identifier: > LDAP_DIRSEP > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:258:27: > Possibly null storage prog passed as non-null param: usage (prog) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:251:15: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:260:15: > Possibly null storage prog passed as non-null param: strcmp (prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:251:15: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:273:18: Unrecognized identifier: > getopt > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:288:24: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:290:15: Unrecognized identifier: > strdup > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:290:23: Unrecognized identifier: > optarg > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:310:24: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:321:24: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:326:24: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:326:24: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:375:26: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:398:23: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:400:6: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:421:26: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:423:6: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:471:26: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:473:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:475:7: > Test expression for if not boolean, type int: ldapport > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:478:24: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:489:25: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:498:25: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:507:27: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:534:26: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:565:26: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:567:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:597:26: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:599:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:604:6: > Implicitly only storage passwd.bv_val (type char *) not released before > assignment: passwd.bv_val = strdup(optarg) > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:612:3: > Assignment of size_t to ber_len_t: passwd.bv_len = strlen(passwd.bv_val) > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:644:26: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:646:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:648:27: > Operands of != have incompatible types (int, ber_tag_t): > authmethod != ((ber_tag_t)0x80U) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:652:24: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:654:3: > Assignment of ber_tag_t to int: authmethod = ((ber_tag_t)0x80U) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:684:26: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:686:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:703:26: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:705:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:708:10: Unrecognized identifier: > optopt > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:720:3: > Assignment of ber_tag_t to int: authmethod = ((ber_tag_t)0x80U) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:724:15: Unrecognized identifier: > optind > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:731:29: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:731:29: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:737:7: > Test expression for if not boolean, type int: debug > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:744:3: Unrecognized identifier: > ldif_debug > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:770:9: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:776:4: > Only storage assigned to unqualified static: > ld = ldap_init(ldaphost, ldapport) > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:780:25: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:780:25: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:780:25: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:786:9: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:791:9: Unrecognized identifier: > ssl_client_init > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:795:28: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:795:28: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:795:28: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:815:17: > Test expression for conditional not boolean, type int: use_tls > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:817:9: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:824:18: Unrecognized identifier: > ssl_init > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:824:49: > Test expression for conditional not boolean, type int: use_tls > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:828:25: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:828:25: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:828:25: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:828:25: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:835:3: > Test expression for conditional not boolean, type int: referrals > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:838:4: > Test expression for conditional not boolean, type int: referrals > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:840:23: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:840:23: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:840:23: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:840:23: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:854:23: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:854:23: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:854:23: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:854:23: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:860:9: > Variable tv 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:866:24: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:866:24: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:866:24: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:866:24: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:881:6: > Test expression for if not boolean, type int: want_bindpw > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:882:19: Unrecognized identifier: > getpassphrase > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:882:3: > Implicitly only storage passwd.bv_val (type char *) not released before > assignment: passwd.bv_val = getpassphrase("Enter LDAP Password: ") > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:883:3: > Assignment of size_t to ber_len_t: passwd.bv_len = passwd.bv_val ? > strlen(passwd.bv_val) : 0 > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:886:7: > Operands of == have incompatible types (int, ber_tag_t): > authmethod == ((ber_tag_t)0xa3U) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:925:26: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:925:26: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:925:26: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:925:26: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:925:26: > Function returns with possibly null storage derivable from global > passwd.bv_val > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:882:19: > Storage passwd.bv_val may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:933:27: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:933:27: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:933:27: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:933:27: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:965:25: > Right operand of || is non-boolean (int): rc == 0 || contoper > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:973:6: > Test expression for if not boolean, type int: rc > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:979:15: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:979:15: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:979:15: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:979:15: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c: (in function process_ldif_rec) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1008:33: > Unrecognized identifier: ldif_getline > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1011:21: > Unrecognized identifier: strcasecmp > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1011:7: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1017:7: Unrecognized identifier: > ldif_parse_line > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1025:12: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1025:26: > Variable type 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1027:21: > Field val.bv_val 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1040:8: > Field val.bv_len 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1040:32: > Field val.bv_val 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1042:14: > Field val.bv_val 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1047:22: > Field val.bv_val 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1057:7: > Test expression for if not boolean, type int: expect_ct > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1060:13: > Variable type 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1065:34: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1071:12: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1071:26: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1077: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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1082:8: > Field val.bv_val 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1101:18: > Test expression for if not boolean, type int: ldapadd > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1109:7: > Test expression for if not boolean, type int: expect_modop > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1112:11: > Variable type 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1117:31: > Field val.bv_val 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1121:31: > Field val.bv_val 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1124:11: > Test expression for conditional not boolean, type int: replace > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1128:7: > Test expression for if not boolean, type int: expect_newrdn > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1129:11: > Variable type 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1130:27: > Field val.bv_val 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1142:14: > Test expression for if not boolean, type int: expect_deleteoldrdn > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1143:11: > Variable type 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1144:21: > Field val.bv_val 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1153:14: > Test expression for if not boolean, type int: expect_newsup > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1154:11: > Variable type 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1155:26: > Field val.bv_val 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1166:14: > Test expression for if not boolean, type int: got_all > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1172:37: > Field val.bv_val 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1172:31: > Variable type 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1176:8: > Unallocated storage type passed as out parameter: type > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1177:8: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1178:5: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1177:8: > Storage val.bv_val released >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1184:6: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1196:13: > Return value (type int) ignored: ldap_get_option(... > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1227:7: > Test expression for if not boolean, type int: delete_entry > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1228:25: > Variable pctrls used in inconsistent state > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1219:17: > Storage pctrls becomes inconsistent (released on one branch) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1230:55: > Variable pctrls used in inconsistent state > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1219:17: > Storage pctrls becomes inconsistent (released on one branch) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1232:32: > Variable pctrls used in inconsistent state > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1219:17: > Storage pctrls becomes inconsistent (released on one branch) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1243:10: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1241:8: > Storage newrdn released >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1244:8: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1243:10: > Storage newrdn defined >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1249:9: > Variable pctrls used in inconsistent state > An rvalue is used that may not be initialized to a value on some execution > path. (Use -usedef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1219:17: > Storage pctrls becomes inconsistent (released on one branch) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c: (in function parse_ldif_control) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1283:12: > Left operand of && is non-boolean (char): *s && isspace(*s) > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1286:9: > Operands of == have incompatible types (char, int): *s == 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1292:9: > Test expression for if not boolean, type char: *s > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1295:9: > Assignment of int to char: *s++ = 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1304:12: > Left operand of && is non-boolean (char): *s && isspace(*s) > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1305:9: Unrecognized identifier: > strncasecmp > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1315:12: > Left operand of && is non-boolean (char): *s && isspace(*s) > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1316:9: > Test expression for if not boolean, type char: *s > Test expression type is not boolean. (Use -predboolothers to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1328:17: > Operands of != have incompatible types (char, int): (*pcolon++ = *s++) != 0 > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1346:5: > Assignment of int to char: newctrl->ldctl_iscritical = criticality > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1358:38: > Only storage *pctrls->ldctl_oid (type char *) derived from released storage > is not released (memory leak): pctrls > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1358:38: > Only storage *pctrls->ldctl_value.bv_val (type char *) derived from > released storage is not released (memory leak): pctrls > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1366:6: > Dereference of possibly null pointer ppctrls: *ppctrls > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1366:5: > Only storage pctrls assigned to unqualified: *ppctrls = pctrls > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1358:30: > Storage pctrls becomes only >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1381:19: > Only storage pctrls 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1358:30: > Storage pctrls becomes only >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1381:19: > Function returns with null storage derivable from parameter *ppctrls[] > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1365:19: > Storage *ppctrls[] becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c: (in function addmodifyop) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1417: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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1409:29: > Storage pmods becomes only >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1434: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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1409:29: > Storage pmods becomes only >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1460:2: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1444:37: > Storage *pmodsp[]->mod_vals.modv_bvals may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c: (in function domodify) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1493:10: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1504:10: > Unrecognized identifier: isascii > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1509:12: > Test expression for if not boolean, type int: notascii > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1510:41: > Format argument 1 to printf (%ld) expects long int gets ber_len_t: > bvp->bv_len > Type of parameter is not consistent with corresponding code in format string. > (Use -formattype to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1510:28: > Corresponding format code >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1519:10: > Test expression for if not boolean, type int: newentry > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1520:41: > Test expression for conditional not boolean, type int: not > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1522:40: > Test expression for conditional not boolean, type int: not > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1525:11: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1526:7: > Test expression for if not boolean, type int: newentry > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1532:23: > Test expression for conditional not boolean, type int: newentry > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1533:14: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1540:5: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c: (in function dodelete) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1553:42: > Test expression for conditional not boolean, type int: not > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1554:11: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1557:14: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1564:5: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c: (in function dorename) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1581:50: > Test expression for conditional not boolean, type int: not > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1582:10: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1584:11: > Test expression for conditional not boolean, type int: deleteoldrdn > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1586:11: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1597:5: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c: (in function read_one_record) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1612:32: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1638:11: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1610:11: > Storage buf may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c: (in function control_dup) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1651: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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1657: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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1665:11: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1674:21: > Function malloc expects arg 1 to be size_t gets unsigned long int: > c->ldctl_value.bv_len + 1 > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1681:11: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1687:4: > Function memcpy expects arg 3 to be size_t gets ber_len_t: > c->ldctl_value.bv_len > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1697:9: > Possibly null storage new->ldctl_oid derivable from return value: new > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1669:20: > Storage new->ldctl_oid may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1697:9: > Possibly null storage new->ldctl_value.bv_val derivable from return value: > new > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1693:29: > Storage new->ldctl_value.bv_val may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c: (in function controls_free) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1721:15: > Only storage pctrls[]->ldctl_oid (type char *) derived from released > storage is not released (memory leak): pctrls[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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1721:15: > Only storage pctrls[]->ldctl_value.bv_val (type char *) derived from > released storage is not released (memory leak): pctrls[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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1721:15: > Unqualified storage pctrls[i] passed as only param: free (pctrls[i]) > Unqualified storage is transferred in an inconsistent way. (Use > -unqualifiedtrans to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1724:11: > Implicitly temp storage pctrls passed as only param: free (pctrls) > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c: (in function mods_free) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1757:15: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1760:10: > Test expression for if not boolean, type int: freemods > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1761: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-NLDAPsdk-8.8/clients/tools/ldapmodify.c: (in function bvdup) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1773: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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1776: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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1781:10: > Null storage new->bv_val derivable from return value: new > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1779:17: > Storage new->bv_val becomes null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1784:29: > Function malloc expects arg 1 to be size_t gets unsigned long int: > bv->bv_len + 1 > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1786: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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1789:35: > Function memcpy expects arg 3 to be size_t gets ber_len_t: bv->bv_len > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c: (in function bvecfree) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1809:11: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1809:11: > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1811:11: > 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) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c: (in function cleanup) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1819:18: > Return value (type int) ignored: ldap_unbind_ext(... > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1820:7: > Test expression for if not boolean, type int: ssl_inited > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1820:23: > Unrecognized identifier: ssl_client_deinit > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1821:32: > Unqualified static storage ldaphost passed as only param: free (ldaphost) > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1822:32: > Unqualified static storage binddn passed as only param: free (binddn) > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1823:32: > Unqualified static storage keyfile passed as only param: free (keyfile) > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1824:30: > Operand of ! is non-boolean (int): !want_bindpw > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1824:8: > Left operand of && is non-boolean (char *): > (passwd.bv_val) && (!want_bindpw) > 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-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1825:32: > Unqualified static storage infile passed as only param: free (infile) > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1826:9: > Function returns with non-null global ld referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:824:18: > Storage ld may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1826:9: > Function returns with global ldaphost referencing released storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1821:32: > Storage ldaphost released >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1826:9: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1826:9: > Function returns with global binddn referencing released storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1822:32: > Storage binddn released >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1826:9: > Function returns with non-null global binddn referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1826:9: > Function returns with global keyfile referencing released storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1823:32: > Storage keyfile released >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1826:9: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1826:9: > Released storage passwd.bv_val reachable from global > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1824:51: > Storage passwd.bv_val released >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1826:9: > Function returns with global infile referencing released storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1825:32: > Storage infile released >novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:1826:9: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodify.c:268:14: > Storage infile may become null > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c ] >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:92:21: > Static prog initialized to null value: prog = 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:92:21: > Static prog initialized to null value: char * prog = 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:93:23: > Static binddn initialized to null value: binddn = 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:93:23: > Static binddn initialized to null value: char * binddn = 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:94:36: > Static passwd.bv_val initialized to null value: passwd.bv_val = 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:95:24: > Static ldapuri initialized to null value: ldapuri = 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:95:24: > Static ldapuri initialized to null value: char * ldapuri = 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:96: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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:96: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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:98:24: > Static keyfile initialized to null value: keyfile = 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:98:24: > Static keyfile initialized to null value: char * keyfile = 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:110:19: > Static ld initialized to null value: ld = 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:110:19: > Static ld initialized to null value: LDAP * ld = 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:111: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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:111: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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:112:24: > Static entrydn initialized to null value: entrydn = 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:112:24: > Static entrydn initialized to null value: char * entrydn = 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:113:20: > Static rdn initialized to null value: rdn = 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:113:20: > Static rdn initialized to null value: char * rdn = 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:114:28: > Static newSuperior initialized to null value: newSuperior = 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:114:28: > Static newSuperior initialized to null value: > char * newSuperior = 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c: (in function main) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:38: Unrecognized identifier: > LDAP_DIRSEP > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:12: > Expression has undefined behavior (value of left operand prog is modified > by right operand (prog = strrchr(argv[0], *LDAP_DIRSEP)) == NULL ? argv[0] > : prog + 1): prog = (prog = strrchr(argv[0], *LDAP_DIRSEP)) == NULL ? > argv[0] : prog + 1 > Code has unspecified behavior. Order of evaluation of function parameters or > subexpressions is not defined, so if a value is used and modified in > different places not separated by a sequence point constraining evaluation > order, then the result of the expression is unspecified. (Use -evalorder to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:216:10: > Possibly null storage prog passed as non-null param: usage (prog) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:218:18: Unrecognized identifier: > getopt > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:228:54: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:232:15: Unrecognized identifier: > strdup > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:232:23: Unrecognized identifier: > optarg > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:240:5: > Possibly null storage prog passed as non-null param: fprintf (..., prog) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:257:54: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:268:54: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:273:54: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:275:24: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:319:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:344:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:349:6: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:367:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:372:6: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:415:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:422:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:424:7: > Test expression for if not boolean, type int: ldapport > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:425:54: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:436:6: > Possibly null storage prog passed as non-null param: fprintf (..., prog) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:445:6: > Possibly null storage prog passed as non-null param: fprintf (..., prog) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:453:5: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:478:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:509:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:516:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:541:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:548:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:553:6: > Implicitly only storage passwd.bv_val (type char *) not released before > assignment: passwd.bv_val = strdup(optarg) > 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:561:3: > Assignment of size_t to ber_len_t: passwd.bv_len = strlen(passwd.bv_val) > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:588:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:595:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:597:27: > Operands of != have incompatible types (int, ber_tag_t): > authmethod != ((ber_tag_t)0x80U) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:599:3: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:603:3: > Assignment of ber_tag_t to int: authmethod = ((ber_tag_t)0x80U) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:628:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:635:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:647:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:654:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:657:10: Unrecognized identifier: > optopt > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:657:4: > Possibly null storage prog passed as non-null param: fprintf (..., prog) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:671:3: > Assignment of ber_tag_t to int: authmethod = ((ber_tag_t)0x80U) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:676:16: Unrecognized identifier: > optind > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:680:29: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:680:29: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:685:29: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:685:29: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:690:3: > Possibly null storage prog passed as non-null param: fprintf (..., prog) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:693:25: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:700:27: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:700:27: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:706:7: > Test expression for if not boolean, type int: debug > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:738:9: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:744:4: > Only storage assigned to unqualified static: > ld = ldap_init(ldaphost, ldapport) > 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:748:25: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:748:25: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:748:25: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:748:25: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:754:9: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:759:9: Unrecognized identifier: > ssl_client_init > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:763:28: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:763:28: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:763:28: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:763:28: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:783:17: > Test expression for conditional not boolean, type int: use_tls > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:785:9: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:792:18: Unrecognized identifier: > ssl_init > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:792:49: > Test expression for conditional not boolean, type int: use_tls > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:796:25: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:796:25: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:796:25: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:796:25: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:796:25: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:804:3: > Test expression for conditional not boolean, type int: referrals > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:807:4: > Test expression for conditional not boolean, type int: referrals > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:809:23: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:809:23: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:809:23: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:809:23: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:809:23: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:818:23: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:818:23: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:818:23: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:818:23: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:818:23: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:824:9: > Variable tv 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:830:24: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:830:24: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:830:24: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:830:24: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:830:24: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:845:6: > Test expression for if not boolean, type int: want_bindpw > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:846:19: Unrecognized identifier: > getpassphrase > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:846:3: > Implicitly only storage passwd.bv_val (type char *) not released before > assignment: passwd.bv_val = getpassphrase("Enter LDAP Password: ") > 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:847:3: > Assignment of size_t to ber_len_t: passwd.bv_len = passwd.bv_val ? > strlen(passwd.bv_val) : 0 > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:850:7: > Operands of == have incompatible types (int, ber_tag_t): > authmethod == ((ber_tag_t)0xa3U) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:884:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:889:26: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:889:26: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:889:26: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:889:26: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:889:26: > Function returns with possibly null storage derivable from global > passwd.bv_val > 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:846:19: > Storage passwd.bv_val may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:897:27: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:897:27: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:897:27: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:897:27: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:897:27: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:927:9: > Test expression for if not boolean, type int: havedn > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:930:22: > Right operand of || is non-boolean (int): rc == 0 || contoper > 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:930:52: > Function fgets expects arg 2 to be int gets size_t: sizeof((buf)) > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:931:25: > Operands of != have incompatible types (char, int): *buf != 0x0A > To make char and int types equivalent, use +charint. >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:934:10: > Test expression for if not boolean, type int: havedn > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:938:30: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:938:30: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:938:30: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:938:30: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:938:30: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:942:18: > Operand of ! is non-boolean (int): !havedn > 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:946:30: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:946:30: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:946:30: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:946:30: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:946:30: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:955:15: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:213:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:955:15: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:955:15: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:955:15: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:955:15: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c: (in function domodrdn) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:969:10: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:972:12: > Test expression for conditional not boolean, type int: remove > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:978:6: > Test expression for if not boolean, type int: not > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:985:10: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:995:30: > Variable res 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:999:10: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1003:17: > Variable code 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1003:6: > Left operand of || is non-boolean (int): verbose || code != 0x00 > 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1004:4: > Operands of && are non-booleans (char *, char): matcheddn && *matcheddn > 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1004:33: > Operands of && are non-booleans (char *, char): text && *text > 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1004:52: > Operands of && are non-booleans (char **, char *): refs && *refs > 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1007:21: > Variable code 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1007:4: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(code) > 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1009:7: > Operands of && are non-booleans (char *, char): text && *text > 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1013:7: > Operands of && are non-booleans (char *, char): matcheddn && *matcheddn > 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1029:9: > Variable code 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c: (in function cleanup) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1035:18: > Return value (type int) ignored: ldap_unbind_ext(... > 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1036:7: > Test expression for if not boolean, type int: ssl_inited > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1036:23: > Unrecognized identifier: ssl_client_deinit > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1037:32: > Unqualified static storage ldaphost passed as only param: free (ldaphost) > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1038:32: > Unqualified static storage binddn passed as only param: free (binddn) > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1039:32: > Unqualified static storage keyfile passed as only param: free (keyfile) > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1040:30: > Operand of ! is non-boolean (int): !want_bindpw > 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1040:8: > Left operand of && is non-boolean (char *): > (passwd.bv_val) && (!want_bindpw) > 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-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1041:32: > Unqualified static storage infile passed as only param: free (infile) > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1042:32: > Unqualified static storage entrydn passed as only param: free (entrydn) > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1043:29: > Unqualified static storage rdn passed as only param: free (rdn) > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1044:32: > Unqualified static storage newSuperior passed as only param: > free (newSuperior) > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1045:9: > Function returns with non-null global ld referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:792:18: > Storage ld may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1045:9: > Function returns with global ldaphost referencing released storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1037:32: > Storage ldaphost released >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1045:9: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1045:9: > Function returns with global binddn referencing released storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1038:32: > Storage binddn released >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1045:9: > Function returns with non-null global binddn referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1045:9: > Function returns with global keyfile referencing released storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1039:32: > Storage keyfile released >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1045:9: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1045:9: > Released storage passwd.bv_val reachable from global > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1040:51: > Storage passwd.bv_val released >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1045:9: > Function returns with global infile referencing released storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1041:32: > Storage infile released >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1045:9: > Function returns with non-null global infile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1045:9: > Function returns with global entrydn referencing released storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1042:32: > Storage entrydn released >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1045:9: > Function returns with non-null global entrydn referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:682:25: > Storage entrydn may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1045:9: > Function returns with global rdn referencing released storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1043:29: Storage rdn released >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1045:9: > Function returns with non-null global rdn referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:677:14: > Storage rdn may become null >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1045:9: > Function returns with global newSuperior referencing released storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1044:32: > Storage newSuperior released >novell-NLDAPsdk-8.8/clients/tools/ldapmodrdn.c:1045:9: > Function returns with non-null global newSuperior referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/clients/tools/ldapsearch.c ] >novell-NLDAPsdk-8.8/clients/tools/ldapsearch.c:243:23: > Static tmpdir initialized to null value: tmpdir = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:243:23: > Static tmpdir initialized to null value: char * tmpdir = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:244:23: > Static urlpre initialized to null value: urlpre = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:244:23: > Static urlpre initialized to null value: char * urlpre = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:246:21: > Static prog initialized to null value: prog = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:246:21: > Static prog initialized to null value: char * prog = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:247:23: > Static binddn initialized to null value: binddn = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:247:23: > Static binddn initialized to null value: char * binddn = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:248:36: > Static passwd.bv_val initialized to null value: passwd.bv_val = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:249:21: > Static base initialized to null value: base = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:249:21: > Static base initialized to null value: char * base = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:250: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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:250: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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:251:24: > Static ldapuri initialized to null value: ldapuri = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:251:24: > Static ldapuri initialized to null value: char * ldapuri = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:253:24: > Static keyfile initialized to null value: keyfile = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:253:24: > Static keyfile initialized to null value: char * keyfile = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:264:25: > Static sortattr initialized to null value: sortattr = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:264:25: > Static sortattr initialized to null value: char * sortattr = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:266: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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:266: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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:267:28: > Static filtpattern initialized to null value: filtpattern = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:267:28: > Static filtpattern initialized to null value: > char * filtpattern = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:268:19: > Static ld initialized to null value: ld = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:268:19: > Static ld initialized to null value: LDAP * ld = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:279:27: > Global creds.dn initialized to null value: creds.dn = 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-NLDAPsdk-8.8/clients/tools/ldapsearch.c:279:36: > Global creds.pw.bv_val initialized to null value: creds.pw.bv_val = 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) >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c ] >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:81:23: > Static binddn initialized to null value: binddn = 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:81:23: > Static binddn initialized to null value: char * binddn = 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:82:36: > Static passwd.bv_val initialized to null value: passwd.bv_val = 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:83:24: > Static ldapuri initialized to null value: ldapuri = 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:83:24: > Static ldapuri initialized to null value: char * ldapuri = 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:84: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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:84: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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:86:24: > Static keyfile initialized to null value: keyfile = 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:86:24: > Static keyfile initialized to null value: char * keyfile = 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:99:19: > Static ld initialized to null value: ld = 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:99:19: > Static ld initialized to null value: LDAP * ld = 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c: (in function main) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:38: Unrecognized identifier: > LDAP_DIRSEP > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:12: > Expression has undefined behavior (value of left operand prog is modified > by right operand (prog = strrchr(argv[0], *LDAP_DIRSEP)) == NULL ? argv[0] > : prog + 1): prog = (prog = strrchr(argv[0], *LDAP_DIRSEP)) == NULL ? > argv[0] : prog + 1 > Code has unspecified behavior. Order of evaluation of function parameters or > subexpressions is not defined, so if a value is used and modified in > different places not separated by a sequence point constraining evaluation > order, then the result of the expression is unspecified. (Use -evalorder to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:199:10: > Possibly null storage prog passed as non-null param: usage (prog) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:201:15: Unrecognized identifier: > getopt > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:211:54: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:214:24: Unrecognized identifier: > optarg > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:232:54: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:235:15: Unrecognized identifier: > strdup > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:242:54: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:246:54: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:247:24: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:286:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:308:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:312:6: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:328:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:332:6: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:371:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:377:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:379:7: > Test expression for if not boolean, type int: ldapport > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:380:54: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:390:6: > Possibly null storage prog passed as non-null param: fprintf (..., prog) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:398:6: > Possibly null storage prog passed as non-null param: fprintf (..., prog) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:405:5: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:427:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:454:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:460:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:482:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:488:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:493:6: > Implicitly only storage passwd.bv_val (type char *) not released before > assignment: passwd.bv_val = strdup(optarg) > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:501:3: > Assignment of size_t to ber_len_t: passwd.bv_len = strlen(passwd.bv_val) > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:525:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:531:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:533:27: > Operands of != have incompatible types (int, ber_tag_t): > authmethod != ((ber_tag_t)0x80U) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:535:3: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:538:3: > Assignment of ber_tag_t to int: authmethod = ((ber_tag_t)0x80U) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:560:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:566:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:577:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:583:3: Unreachable code: break > This code will never be reached on any possible execution. (Use -unreachable > to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:586:10: Unrecognized identifier: > optopt > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:586:4: > Possibly null storage prog passed as non-null param: fprintf (..., prog) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:599:3: > Assignment of ber_tag_t to int: authmethod = ((ber_tag_t)0x80U) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:604:7: Unrecognized identifier: > optind > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:609:7: > Test expression for if not boolean, type int: debug > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:640:9: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:646:4: > Only storage assigned to unqualified static: > ld = ldap_init(ldaphost, ldapport) > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:649:25: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:649:25: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:649:25: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:655:9: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:660:9: Unrecognized identifier: > ssl_client_init > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:663:28: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:663:28: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:663:28: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:683:17: > Test expression for conditional not boolean, type int: use_tls > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:685:9: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:692:18: Unrecognized identifier: > ssl_init > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:692:49: > Test expression for conditional not boolean, type int: use_tls > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:696:25: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:696:25: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:696:25: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:696:25: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:705:3: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:710:3: > Test expression for conditional not boolean, type int: referrals > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:713:4: > Test expression for conditional not boolean, type int: referrals > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:715:23: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:715:23: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:715:23: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:715:23: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:724:23: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:724:23: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:724:23: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:724:23: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:730:9: > Variable tv 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:736:24: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:736:24: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:736:24: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:736:24: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:751:6: > Test expression for if not boolean, type int: want_bindpw > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:752:19: Unrecognized identifier: > getpassphrase > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:752:3: > Implicitly only storage passwd.bv_val (type char *) not released before > assignment: passwd.bv_val = getpassphrase("Enter LDAP Password: ") > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:753:3: > Assignment of size_t to ber_len_t: passwd.bv_len = passwd.bv_val ? > strlen(passwd.bv_val) : 0 > To allow arbitrary integral types to match long unsigned, use > +longunsignedintegral. >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:756:7: > Operands of == have incompatible types (int, ber_tag_t): > authmethod == ((ber_tag_t)0xa3U) > Types are incompatible. (Use -type to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:790:61: > Possibly null storage prog passed as non-null param: > fprintf (..., prog, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:795:26: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:795:26: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:795:26: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:795:26: > Function returns with possibly null storage derivable from global > passwd.bv_val > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:752:19: > Storage passwd.bv_val may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:803:27: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:803:27: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:803:27: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:803:27: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:841:22: > Right operand of || is non-boolean (int): rc == 0 || contoper > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:841:52: > Function fgets expects arg 2 to be int gets size_t: sizeof((buf)) > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:851:15: > Function returns with non-null global prog referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:196:20: > Storage prog may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:851:15: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:851:15: > Function returns with non-null global ldapuri referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:851:15: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c: (in function dodelete) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:864:7: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:866:5: > Test expression for conditional not boolean, type int: not > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:869:7: > Test expression for if not boolean, type int: not > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:876:7: > Test expression for if not boolean, type int: prune > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:876:15: > Return value (type int) ignored: deletechildren(l... > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:881:10: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:891:30: > Variable res 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:895:10: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:899:17: > Variable code 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:899:6: > Left operand of || is non-boolean (int): verbose || code != 0x00 > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:900:4: > Operands of && are non-booleans (char *, char): matcheddn && *matcheddn > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:900:33: > Operands of && are non-booleans (char *, char): text && *text > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:900:52: > Operands of && are non-booleans (char **, char *): refs && *refs > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:902:56: > Variable code 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:902:39: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(code) > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:904:7: > Operands of && are non-booleans (char *, char): text && *text > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:908:7: > Operands of && are non-booleans (char *, char): matcheddn && *matcheddn > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:924:9: > Variable code 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c: (in function deletechildren) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:938:34: > Local attrs[1] initialized to null value: attrs[1] = 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:940:7: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:952:36: > Variable res 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:960:10: > Variable dn shadows outer declaration > An outer declaration is shadowed by the local declaration. (Use -shadow to > inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:933:14: > Previous declaration of dn: char * >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:964:5: > Return value (type int) ignored: ldap_get_option(... > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:966:15: > Fresh storage e 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:957:8: > Fresh storage e created >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:973:15: > Fresh storage dn 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:960:36: > Fresh storage dn created >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:973:15: > Fresh storage e 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:957:8: > Fresh storage e created >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:976:9: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:984:15: > Fresh storage dn 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:960:36: > Fresh storage dn created >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:984:15: > Fresh storage e 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:957:8: > Fresh storage e created >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:988:9: > Test expression for if not boolean, type int: verbose > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:993:4: > Fresh storage dn not released before scope exit > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:960:36: > Fresh storage dn created >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:958:4: > Fresh storage e (type LDAPMessage *) not released before assignment (in > post loop increment): e = ldap_next_entry(ld, e) > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:957:8: > Fresh storage e created >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:996:2: > Return value (type int) ignored: ldap_msgfree(res) > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:997:12: > Fresh storage e 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:957:8: > Fresh storage e created >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c: (in function cleanup) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1003:22: > Return value (type int) ignored: ldap_unbind_ext(... > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1004:6: > Test expression for if not boolean, type int: ssl_inited > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1004:22: > Unrecognized identifier: ssl_client_deinit > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1005:31: > Unqualified static storage ldaphost passed as only param: free (ldaphost) > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1006:31: > Unqualified static storage binddn passed as only param: free (binddn) > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1007:31: > Unqualified static storage keyfile passed as only param: free (keyfile) > Static storage is transferred in an inconsistent way. (Use -statictrans to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1008:30: > Operand of ! is non-boolean (int): !want_bindpw > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1008:8: > Left operand of && is non-boolean (char *): > (passwd.bv_val) && (!want_bindpw) > 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-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1009:9: > Function returns with non-null global ld referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:692:18: > Storage ld may become null >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1009:9: > Function returns with global ldaphost referencing released storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1005:31: > Storage ldaphost released >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1009:9: > Function returns with non-null global ldaphost referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1009:9: > Function returns with global binddn referencing released storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1006:31: > Storage binddn released >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1009:9: > Function returns with non-null global binddn referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1009:9: > Function returns with global keyfile referencing released storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1007:31: > Storage keyfile released >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1009:9: > Function returns with non-null global keyfile referencing null storage > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1009:9: > Released storage passwd.bv_val reachable from global > A global variable does not satisfy its annotations when control is > transferred. (Use -globstate to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ldapdelete.c:1008:51: > Storage passwd.bv_val released > >------------------------------------------------------------------------------------------ >[ FILE: ./novell-NLDAPsdk-8.8/clients/tools/ndsindex.c ] >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c: (in function usage) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:114:8: > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c: (in function memfree) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:186:15: > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:188:11: > 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) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c: (in function skipSpaces) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:210:9: Unrecognized identifier: > strdup > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c: (in function triggerLimber) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:226:17: Unrecognized identifier: > NLDAP_TRIGGER_LIMBER_EXTENDED_REQUEST > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:236:18: > Variable oidresult 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:237:16: > Variable valresult 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-NLDAPsdk-8.8/clients/tools/ndsindex.c: (in function printIndexInfo) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:268:37: > Possibly null storage buffer passed as non-null param: > printf (..., strtok(buffer, "$"), ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:268:37: > Storage buffer may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:269:34: > Possibly null storage passed as non-null param: > printf (..., strtok(NULL, "$"), ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:269:34: Storage may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:270:46: > Possibly null storage passed as non-null param: atoi (strtok(NULL, "$")) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:270:46: Storage may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:271:44: > Possibly null storage passed as non-null param: atoi (strtok(NULL, "$")) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:271:44: Storage may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:272:44: > Possibly null storage passed as non-null param: atoi (strtok(NULL, "$")) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:272:44: Storage may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:273:58: > Possibly null storage passed as non-null param: atoi (strtok(NULL, "$")) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:273:58: Storage may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:274:39: > Possibly null storage passed as non-null param: > printf (..., strtok(NULL, "$"), ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:274:39: Storage may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c: (in function searchLDAPServer) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:289:58: > Local requiredAttributes[1] initialized to null value: > requiredAttributes[1] = 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:309:52: > New fresh storage (type char *) passed as implicitly temp (not released): > ldap_err2string(rc) > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:313:35: > Variable searchResult 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:318:15: > Variable ber 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:319:5: > Return value (type int) ignored: ldap_msgfree(sea... > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:321:19: > Fresh storage attribute 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:314:5: > Fresh storage attribute created >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:321:19: > Fresh storage entry 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:313:5: > Fresh storage entry created >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c: (in function processSearchResults) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:350:38: Unrecognized identifier: > strcasecmp > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:351:24: > Return value (type int) ignored: printIndexInfo(i... > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c: (in function listIndexes) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:393:35: > Null storage indexSet passed as non-null param: > processSearchResults (indexSet, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:383:24: > Storage indexSet becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:393:45: > Null storage passed as non-null param: > processSearchResults (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:393:51: > Null storage passed as non-null param: > processSearchResults (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:402:39: > Null storage indexSet passed as non-null param: > processSearchResults (indexSet, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:383:24: > Storage indexSet becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:402:59: > Null storage passed as non-null param: > processSearchResults (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:419:43: > Null storage indexSet passed as non-null param: > processSearchResults (indexSet, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:383:24: > Storage indexSet becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:419:63: > Null storage passed as non-null param: > processSearchResults (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c: (in function addIndexes) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:461:49: > Function calloc expects arg 2 to be size_t gets int: (count + 1) > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:462:53: > Function calloc expects arg 2 to be size_t gets int: (count + 1) > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:463:54: > Function calloc expects arg 2 to be size_t gets int: (count + 1) > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:464:43: > Function calloc expects arg 2 to be size_t gets int: count > To allow arbitrary integral types to match any integral type, use > +matchanyintegral. >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:475:8: > Index of possibly null pointer indexNames: indexNames > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:461:18: > Storage indexNames may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:475:40: > Possibly null storage buffer passed as non-null param: > skipSpaces ((strtok(buffer, ";"))) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:475:41: > Storage buffer may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:476:8: > Index of possibly null pointer attributeNames: attributeNames > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:462:22: > Storage attributeNames may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:476:40: > Possibly null storage passed as non-null param: > skipSpaces ((strtok(NULL, ";"))) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:476:41: Storage may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:477:8: > Index of possibly null pointer indexRuleValues: indexRuleValues > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:463:23: > Storage indexRuleValues may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:477:40: > Possibly null storage passed as non-null param: > skipSpaces ((strtok(NULL, ";"))) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:477:41: Storage may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:481:12: > Index of possibly null pointer ruleType: ruleType > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:464:16: > Storage ruleType may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:483:12: > Index of possibly null pointer ruleType: ruleType > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:464:16: > Storage ruleType may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:485:12: > Index of possibly null pointer ruleType: ruleType > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:464:16: > Storage ruleType may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:487:12: > Index of possibly null pointer ruleType: ruleType > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:464:16: > Storage ruleType may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:506:5: > Index of possibly null pointer indexNames: indexNames > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:461:18: > Storage indexNames may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:506:19: > Index of possibly null pointer attributeNames: attributeNames > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:462:22: > Storage attributeNames may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:506:37: > Index of possibly null pointer indexRuleValues: indexRuleValues > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:463:23: > Storage indexRuleValues may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:517:41: > Null storage indexNames[] passed as non-null param: > fprintf (..., indexNames[j], ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:506:19: > Storage indexNames[] becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:537:35: > Null storage indexSet passed as non-null param: > processSearchResults (indexSet, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:431:36: > Storage indexSet becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:537:45: > Null storage indexNames[] passed as non-null param: > processSearchResults (..., indexNames[i], ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:506:19: > Storage indexNames[] becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:537:60: > Null storage passed as non-null param: > processSearchResults (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:561:9: > Index of possibly null pointer values: values > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:555:14: > Storage values may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:561:64: > Null storage indexNames[] passed as non-null param: strlen (indexNames[i]) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:506:19: > Storage indexNames[] becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:562:49: > Null storage attributeNames[] passed as non-null param: > strlen (attributeNames[i]) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:506:37: > Storage attributeNames[] becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:563:9: > Buffer overflow possible with sprintf. Recommend using snprintf instead: > sprintf > Use of function that may lead to buffer overflow. (Use -bufferoverflowhigh to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:563:60: > Index of possibly null pointer ruleType: ruleType > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:464:16: > Storage ruleType may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:563:17: > Possibly null storage values[] passed as non-null param: > sprintf (values[i], ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:561:21: > Storage values[] may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:566:5: > Index of possibly null pointer values: values > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:555:14: > Storage values may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:569:5: > Observer storage assigned to unqualified reference: > modIndex.mod_type = "indexDefinition" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:569:25: > Storage becomes observer >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:586:13: > Null storage values[] derivable from parameter memfree ((void **)values) > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:566:17: > Storage values[] becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:587:13: > Null storage indexNames[] derivable from parameter memfree ((void > **)indexNames) > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:506:19: > Storage indexNames[] becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:588:13: > Null storage attributeNames[] derivable from parameter memfree ((void > **)attributeNames) > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:506:37: > Storage attributeNames[] becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:589:13: > Null storage indexRuleValues[] derivable from parameter memfree ((void > **)indexRuleValues) > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:506:56: > Storage indexRuleValues[] becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:593:15: > Fresh storage indexNames 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:461:5: > Fresh storage indexNames created >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:593:15: > Fresh storage attributeNames 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:462:5: > Fresh storage attributeNames created >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:593:15: > Fresh storage indexRuleValues 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:463:5: > Fresh storage indexRuleValues created >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c: (in function deleteIndexes) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:618:37: > Null storage indexSet passed as non-null param: > processSearchResults (indexSet, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:603:21: > Storage indexSet becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:618:57: > Null storage passed as non-null param: > processSearchResults (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:636:51: > Index of possibly null pointer vals: vals > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:632:12: > Storage vals may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:636:30: > Null storage indexSet passed as non-null param: > processSearchResults (indexSet, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:603:21: > Storage indexSet becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:636:50: > Passed storage &vals[] not completely defined (vals[] is undefined): > processSearchResults (..., &vals[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-NLDAPsdk-8.8/clients/tools/ndsindex.c:636:9: > Return value (type int) ignored: processSearchRes... > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:640:5: > Observer storage assigned to unqualified reference: > mod0.mod_type = "indexDefinition" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:640:21: > Storage becomes observer >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:642:5: > Index of possibly null pointer vals: vals > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:632:12: > Storage vals may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:658:13: > Null storage vals[] derivable from parameter memfree ((void **)vals) > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:642:15: > Storage vals[] becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c: (in function suspendORresumeIndexes) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:684:38: > Null storage indexSet passed as non-null param: > processSearchResults (indexSet, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:668:57: > Storage indexSet becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:684:58: > Null storage passed as non-null param: > processSearchResults (..., NULL, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:704:51: > Index of possibly null pointer oldValues: oldValues > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:698:18: > Storage oldValues may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:704:30: > Null storage indexSet passed as non-null param: > processSearchResults (indexSet, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:668:57: > Storage indexSet becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:704:50: > Passed storage &oldValues[] not completely defined (oldValues[] is > undefined): processSearchResults (..., &oldValues[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-NLDAPsdk-8.8/clients/tools/ndsindex.c:704:9: > Return value (type int) ignored: processSearchRes... > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:705:9: > Index of possibly null pointer newValues: newValues > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:699:18: > Storage newValues may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:714:6: > Observer storage assigned to unqualified reference: > mod0.mod_type = "indexDefinition" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:714:22: > Storage becomes observer >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:715:6: > Index of possibly null pointer oldValues: oldValues > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:698:18: > Storage oldValues may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:719:6: > Observer storage assigned to unqualified reference: > mod1.mod_type = "indexDefinition" > Observer storage is transferred to a non-observer reference. (Use > -observertrans to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:719:22: > Storage becomes observer >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:720:6: > Index of possibly null pointer newValues: newValues > A possibly null pointer is dereferenced. Value is either the result of a > function which may return null (in which case, code should check it is not > null), or a global, parameter or structure field declared with the null > qualifier. (Use -nullderef to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:699:18: > Storage newValues may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:737:12: > Null storage oldValues[] derivable from parameter memfree ((void > **)oldValues) > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:715:21: > Storage oldValues[] becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:738:12: > Null storage newValues[] derivable from parameter memfree ((void > **)newValues) > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:720:21: > Storage newValues[] becomes null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c: (in function main) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:756:25: > Declaration using extern inside function scope: char *optarg > An extern declaration is used inside a function scope. (Use -nestedextern to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:757:23: > Declaration using extern inside function scope: int optind > An extern declaration is used inside a function scope. (Use -nestedextern to > inhibit warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:796:17: Unrecognized identifier: > getopt > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:842:8: > Test expression for if not boolean, type int: want_bindpw > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:844:27: Unrecognized identifier: > getpassphrase > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:880:14: Unrecognized identifier: > ssl_client_init > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:893:18: Unrecognized identifier: > ssl_set_verify_mode > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:903:25: > Test expression for conditional not boolean, type int: use_tls > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:906:14: Unrecognized identifier: > ssl_init > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:906:45: > Test expression for conditional not boolean, type int: use_tls > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:912:5: > Clauses exit with ld referencing fresh storage in true branch, local > storage in false branch > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:872:14: > Fresh storage ld created >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:917:9: > Variable tv 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:920:9: > Return value (type int) ignored: ldap_set_option(... > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:929:21: Unrecognized identifier: > ssl_start_tls > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:929:10: > Left operand of && is non-boolean (int): > use_tls && ssl_start_tls(ld) != 0x00 > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:949:30: > Possibly null storage serverdn passed as non-null param: > listIndexes (..., serverdn, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:753:22: > Storage serverdn may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:953:36: > Possibly null storage serverdn passed as non-null param: > addIndexes (..., serverdn) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:753:22: > Storage serverdn may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:963:39: > Possibly null storage serverdn passed as non-null param: > deleteIndexes (..., serverdn) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:753:22: > Storage serverdn may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:973:52: > Possibly null storage serverdn passed as non-null param: > suspendORresumeIndexes (..., serverdn, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:753:22: > Storage serverdn may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:983:52: > Possibly null storage serverdn passed as non-null param: > suspendORresumeIndexes (..., serverdn, ...) > A possibly null pointer is passed as a parameter corresponding to a formal > parameter with no /*@null@*/ annotation. If NULL may be used for this > parameter, add a /*@null@*/ annotation to the function parameter declaration. > (Use -nullpass to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:753:22: > Storage serverdn may become null >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:997:9: > Return value (type int) ignored: ldap_unbind_s(ld) > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:1002:23: > Operand of ! is non-boolean (int): !want_bindpw > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:1002:8: > Left operand of && is non-boolean (char *): (passwd) && (!want_bindpw) > 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-NLDAPsdk-8.8/clients/tools/ndsindex.c:1006:9: > Test expression for if not boolean, type int: ssl_inited > Test expression type is not boolean or int. (Use -predboolint to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:1007:9: Unrecognized identifier: > ssl_client_deinit > Identifier used in code has not been declared. (Use -unrecog to inhibit > warning) >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:122:1: > Function exported but not used outside ndsindex: memfree > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:191:1: Definition of memfree >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:126:1: > Function exported but not used outside ndsindex: skipSpaces > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:212:1: Definition of skipSpaces >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:130:1: > Function exported but not used outside ndsindex: triggerLimber > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:240:1: > Definition of triggerLimber >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:134:1: > Function exported but not used outside ndsindex: searchLDAPServer > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:322:1: > Definition of searchLDAPServer >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:140:1: > Function exported but not used outside ndsindex: printIndexInfo > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:278:1: > Definition of printIndexInfo >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:144:1: > Function exported but not used outside ndsindex: processSearchResults > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:375:1: > Definition of processSearchResults >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:151:1: > Function exported but not used outside ndsindex: listIndexes > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:424:1: > Definition of listIndexes >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:157:1: > Function exported but not used outside ndsindex: addIndexes > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:594:1: Definition of addIndexes >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:163:1: > Function exported but not used outside ndsindex: deleteIndexes > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:662:1: > Definition of deleteIndexes >novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:169:1: > Function exported but not used outside ndsindex: suspendORresumeIndexes > A declaration is exported, but not used outside this module. Declaration can > use static qualifier. (Use -exportlocal to inhibit warning) > novell-NLDAPsdk-8.8/clients/tools/ndsindex.c:742:1: > Definition of suspendORresumeIndexes > >------------------------------------------------------------------------------------------
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