Description of problem: I just tried to compile package nss_ldap-207-3 from Fedora. The compiler said 1. ../db_load/db_load.c:810: warning: operation on `instr' may be undefined The source code is c = digitize(dbenv, *instr, &e1) << 4 | digitize(dbenv, *++instr, &e2); Better source code is c = digitize(dbenv, instr[ 0], &e1) << 4 | digitize(dbenv, instr[ 1], &e2); ++instr; 2. pam_ldap.c(2594): warning #268: the format string ends before this argument The source code is ber_printf (ber, "ts", LDAP_TAG_EXOP_MODIFY_PASSWD_ID, session->info->userdn); I'm not sure what the fix is for this. It looks like LDAP_TAG_EXOP_MODIFY_PASSWD_ID is some fixed constant. 3. pam_ldap.c(2598): warning #268: the format string ends before this argument The source code is ber_printf (ber, "ts", LDAP_TAG_EXOP_MODIFY_PASSWD_NEW, new_password); Duplicate. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Not going to patch upstream code to quiet a compiler warning rather than fix a bug or error.