v2.1.x/src/modules/rlm_mschap/rlm_mschap.c

James JJ Hooper JJJ.Hooper at bristol.ac.uk
Tue Jul 17 00:20:37 CEST 2012


Hi Alan,


@dcc5543c03 recently committed to github was:

         }	  	
-        snprintf(buffer + 12 + 32, sizeof(buffer) - 45,
+        snprintf(buffer + 45, sizeof(buffer) - 45,
            " V=3 M=%s", inst->retry_msg);
       }


I may have miscounted, but shouldn't that be:
snprintf(buffer + 44, sizeof(buffer) - 44,
                 ^^^                  ^^^

?

Kind regards,
  James

-- 
James J J Hooper
Senior Network Specialist, University of Bristol
http://wireless.bristol.ac.uk
--


More information about the Freeradius-Users mailing list