[tac_plus] tac_plus*** buffer overflow detected *** PROBLEM

Asif Iqbal vadud3 at gmail.com
Wed Feb 24 20:14:29 UTC 2016


On Sun, Dec 26, 2010 at 2:01 PM, MSamir <my007ms at yahoo.com> wrote:

>
> if i make line shorter it's start with no problem
> i try edit  tac_plus.h and tacacs.h and change MAX_INPUT_LINE_LEN to be
> 2048 demon start with no problem however
>


I updated  MAX_INPUT_LINE_LEN to 2048 just for tac_plus.h and did a make
and used that binary and it does buffer overflow anymore.

--- a/tac_plus.h
+++ b/tac_plus.h
@@ -256,7 +256,7 @@ struct acct_reply {
 #undef MIN
 #define MIN(a,b) ((a)<(b)?(a):(b))
 #define STREQ(a,b) (strcmp(a,b)==0)
-#define MAX_INPUT_LINE_LEN 255
+#define MAX_INPUT_LINE_LEN 2048

Do I need to add that for tacacs.h as well?






>
>
>
> _______________________________________________
> tac_plus mailing list
> tac_plus at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/tac_plus
>



-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/tac_plus/attachments/20160224/c948f911/attachment.html>


More information about the tac_plus mailing list