<PRE><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Lucida Console'">1.3 revision 454<SPAN style="mso-spacerun: yes"> </SPAN>strsep() function has a bug which<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></PRE> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" align=left><FONT size=3><SPAN lang=EN-US style="FONT-FAMILY: 'Lucida Console'; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-bidi-font-family: ËÎÌå">will cause valid parse with </SPAN><SPAN lang=EN-US style="BACKGROUND: silver; FONT-FAMILY: 'Lucida Console'; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-highlight: silver">evhttp_parse_request_line</SPAN><SPAN lang=EN-US style="FONT-FAMILY: 'Lucida Console'; mso-bidi-font-size: 10.5pt; mso-font-kerning:
0pt"> while do strcmp to method version and uri</SPAN><SPAN lang=EN-US style="FONT-FAMILY: 'Lucida Console'; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-bidi-font-family: ËÎÌå">.<o:p></o:p></SPAN></FONT></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" align=left><SPAN lang=EN-US style="FONT-FAMILY: 'Lucida Console'; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-bidi-font-family: ËÎÌå"><o:p><FONT size=3> </FONT></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" align=left><SPAN lang=EN-US style="FONT-FAMILY: 'Lucida Console'; mso-bidi-font-size: 10.5pt;
mso-font-kerning: 0pt; mso-bidi-font-family: ËÎÌå"><o:p><FONT size=3> </FONT></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" align=left><SPAN lang=EN-US style="FONT-FAMILY: 'Lucida Console'; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-bidi-font-family: ËÎÌå"><FONT size=3>--- http.c (revision 454)<BR>+++ http.c (working copy)<o:p></o:p></FONT></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" align=left><SPAN lang=EN-US style="FONT-FAMILY: 'Lucida Console'; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-bidi-font-family: ËÎÌå"><FONT
size=3>@@ -147,9 +158,14 @@<BR> tok = *s;<BR> d = strstr(tok, del);<BR> if (d)<BR>+ {<BR>+ *s = '\0';//terminate the string whith NULL.<BR> *s = d + strlen(<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:State w:st="on"><st1:place w:st="on">del</st1:place></st1:State>);<BR>+ }<BR> else<BR>+ {<BR> *s = NULL;<BR>+ }<BR> return tok;<BR> }<BR> #endif</FONT></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" align=left><SPAN lang=EN-US style="FONT-FAMILY: 'Lucida Console'; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-bidi-font-family: ËÎÌå"><FONT size=3><o:p></o:p></FONT></SPAN> </div> <div
class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-FAMILY: 'Lucida Console'; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-bidi-font-family: Arial"><FONT size=3>Chen shaowei</FONT></SPAN><SPAN lang=EN-US style="FONT-FAMILY: 'Lucida Console'; mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></div> <div> </div><p> 
<hr size=1><a href="http://mail.yahoo.com.cn/?=89034" target=blank>ÑÅ»¢ÓÊÏ䣬ÖÕÉú»ï°é£¡</a>