Re: [Libevent-users] [patch] integer recommendations

2012-04-23 Thread Mansour Moufid
On 2012-04-23, at 12:37 PM, Nick Mathewson wrote: > On Mon, Apr 23, 2012 at 9:04 AM, Mansour Moufid > wrote: >> Hi, >> >> Here's a patch to adhere to a few of the integer-related recommendations in >> the CERT C Secure Coding Standard. I tried not to bre

Re: [Libevent-users] [patch] integer recommendations

2012-04-23 Thread Mansour Moufid
On 2012-04-23, at 12:33 PM, Mark Ellzey wrote: > On Mon, Apr 23, 2012 at 09:04:59AM -0400, Mansour Moufid wrote: >> Hi, >> >> Here's a patch to adhere to a few of the integer-related recommendations in >> the CERT C Secure Coding Standard. I tried not to break

[Libevent-users] [patch] integer recommendations

2012-04-23 Thread Mansour Moufid
Hi, Here's a patch to adhere to a few of the integer-related recommendations in the CERT C Secure Coding Standard. I tried not to break anything but you may want to double-check. Mansour libevent-2.0.18-stable.INT--.patch Description: Binary data

[Libevent-users] typo in whatsnew-2.0.txt

2011-10-25 Thread Mansour Moufid
diff --git a/whatsnew-2.0.txt b/whatsnew-2.0.txt index 5ad6b97..be0c71b 100644 --- a/whatsnew-2.0.txt +++ b/whatsnew-2.0.txt @@ -24,7 +24,7 @@ What's New In Libevent 2.0 so far: COMPATIBILITY: - Nearly all existing code that worked with should Libevent 1.4 should still + Nearly all existing

Re: [Libevent-users] some trivial patches

2011-05-31 Thread Mansour Moufid
On Mon, May 30, 2011 at 11:02 AM, Nick Mathewson wrote: > 0001 and 0002 look like non-starters.  They change a published > interface.  Code that followed the documented interface of > evhttp_*_set_max_*_size that  would have worked before will no longer > work with these changes applied.  We serio

[Libevent-users] some trivial patches

2011-05-27 Thread Mansour Moufid
not tested otherwise. PS: Is it best to post to the list or the tracker? From fb6efc292ce3bc574ce37281f4d7c41aafc95013 Mon Sep 17 00:00:00 2001 From: Mansour Moufid Date: Fri, 27 May 2011 18:06:35 -0400 Subject: [PATCH 1/5] Changes to the evhttp_connection_set_max_* functions in `h

Re: [Libevent-users] patch for evhttp_htmlescape() in http.c

2011-05-23 Thread Mansour Moufid
On Mon, May 23, 2011 at 6:07 PM, Nick Mathewson wrote: > On Mon, May 23, 2011 at 5:54 PM, Mansour Moufid > wrote: >> A couple changes in the file `http.c'. >> >> Removed the `scratch_space' variable from the `evhttp_htmlescape' >> function since i

[Libevent-users] patch for evhttp_htmlescape() in http.c

2011-05-23 Thread Mansour Moufid
A couple changes in the file `http.c'. Removed the `scratch_space' variable from the `evhttp_htmlescape' function since it wasn't actually used; also removed the `buf' variable from the `evhttp_htmlescape' function since it was only used by `scratch_space'. Modified the `html_replace' function so