Bug 34588 - mod_userdir.c: wrong size alloc for suexec
Summary: mod_userdir.c: wrong size alloc for suexec
Status: CLOSED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_userdir (show other bugs)
Version: 2.0-HEAD
Hardware: Other other
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-23 06:20 UTC by David Leonard
Modified: 2005-06-08 03:01 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Leonard 2005-04-23 06:20:24 UTC
Small typo in mod_userdir.c:164327. Potentially wrong-size storage allocated.

  ap_unix_identity_t *ugid = NULL;
  ...
  ugid = apr_palloc(r->pool, sizeof(ap_unix_identity_t *))
Comment 1 Joe Orton 2005-04-28 17:20:28 UTC
Good catch!  Thanks for the report.

http://svn.apache.org/viewcvs?rev=165151&view=rev
Comment 2 Joe Orton 2005-06-08 11:01:25 UTC
Merged for 2.0.55.  http://svn.apache.org/viewcvs.cgi?rev=189561&view=rev