Follow-up Comment #1, bug #51576 (project wget):

Thanks for pointing out this generic type of error.

The NTLM check is done a bit sloppy, but I can't see no harm here except that
the authentication will fail.

As you say, normally strncmp and strcasencmp are just used to check if a
string begins with a certain sequence.

The code found by you in http.c seems indeed to be wrong. 'type' is
0-terminated and there is no reason to not use strcasecmp() (and it should be
c_strcasecmp here as well).

I'll skim the code to see if there is more.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51576>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to