Full_Name: Ethan Schorer Version: since 2.4 OS: Linux URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (194.29.45.108)
In libraries/liblutil/utils.c in the function scale() the code defines "int i, j;".
Then, i gets set in a for loop, but j only gets set if prev->len > 1.
And then, j is used even if it wasn't initialized. Isn't this a bug?
Shouldn't j be set to 0 when defined? Or don't use it?