Bugzilla – Bug 146141
pwdutils-3.0.7-6: array subscript out of range
Last modified: 2006-01-30 13:54:49 UTC
I just tried to compile package pwdutils-3.0.7-6 with a non standard version of the GNU C compiler. It said libldap.c:1784: warning: array subscript out of range The source code is mods[8] = NULL; but LDAPMod *mods[8], mod[8]; I agree with the compiler. Suggest make local array one bigger.
No problem in stable.
(In reply to comment #1) > No problem in stable. Really ? I'd like a little more detail on this please. Which version of pwdutils is in stable ? The standard GNU C compiler won't find this problem. Did you visually check the source code ?