<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 26, 2010 at 2:01 PM, MSamir <span dir="ltr"><<a href="mailto:my007ms@yahoo.com" target="_blank">my007ms@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5"><br>
if i make line shorter it's start with no problem<br>
i try edit  tac_plus.h and tacacs.h and change MAX_INPUT_LINE_LEN to be 2048 demon start with no problem however<br></div></div></blockquote><div><br></div><div><br></div><div>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.</div><div><br></div><div><div>--- a/tac_plus.h</div><div>+++ b/tac_plus.h</div><div>@@ -256,7 +256,7 @@ struct acct_reply {</div><div> #undef MIN</div><div> #define MIN(a,b) ((a)<(b)?(a):(b))</div><div> #define STREQ(a,b) (strcmp(a,b)==0)</div><div>-#define MAX_INPUT_LINE_LEN 255</div><div>+#define MAX_INPUT_LINE_LEN 2048</div></div><div><br></div><div>Do I need to add that for tacacs.h as well?</div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5"></div></div><div class=""><div class="h5">
<br>
<br>
<br>
_______________________________________________<br>
tac_plus mailing list<br>
<a href="mailto:tac_plus@shrubbery.net">tac_plus@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo.cgi/tac_plus" rel="noreferrer" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/tac_plus</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Asif Iqbal<br>PGP Key: 0xE62693C5 KeyServer: <a href="http://pgp.mit.edu" target="_blank">pgp.mit.edu</a><br>A: Because it messes up the order in which people normally read text.<br>Q: Why is top-posting such a bad thing?<br><br></div>
</div></div>