[Bug 1534538] Re: AliasMatch directive does not accept long URI

Marc Deslauriers marc.deslauriers at canonical.com
Tue Jul 26 12:54:43 UTC 2016


ACK on the debdiff in comment #8, I've uploaded it to trusty for
processing by the SRU team. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1534538

Title:
   AliasMatch directive does not accept long URI

Status in apache2 package in Ubuntu:
  Fix Released
Status in apache2 source package in Trusty:
  In Progress

Bug description:
  [Impact]

  When accessed long URI location that configured by AliasMatch directive,
  Apache failed to allocate memory and process aborted.

  It's same that https://bugzilla.redhat.com/show_bug.cgi?id=1120019.

  This fixed in upstream, http://svn.apache.org/viewvc?view=revision&revision=1583175.
  Can you please backports apache 2.4.10 from vivid or just fix in trusty ?
  Thanks.

  [Test Case]

  Config:

  ubuntu at ubuntu:/etc/apache2$ cat sites-available/alias.conf
  <VirtualHost *:80>
     AliasMatch ^/alias-test/ /var/www/html/index.html
  </VirtualHost>

  With old apache:

  ubuntu at ubuntu:/etc/apache2$ curl localhost/alias-test/short_uri
  <!doctype html>
  <html>
  <body>
  <h1>TEST</h1>
  </body>
  </html>
  ubuntu at ubuntu:/etc/apache2$ curl localhost/alias-test/very_loooooooooooooooooooo
  ooooooooooooooooooooooooooooooooooooooooooooong_____uri
  curl: (52) Empty reply from server
  ubuntu at ubuntu:/etc/apache2$

  With new apache:

  ubuntu at ubuntu:/etc/apache2$ curl localhost/alias-test/short_uri
  <!doctype html>
  <html>
  <body>
  <h1>TEST</h1>
  </body>
  </html>
  ubuntu at ubuntu:/etc/apache2$ curl localhost/alias-test/very_loooooooooooooooooooo
  ooooooooooooooooooooooooooooooooooooooooooooong_____uri
  <!doctype html>
  <html>
  <body>
  <h1>TEST</h1>
  </body>
  </html>

  [Regression Potential]

  There should be no regression potential for this patch, as it just
  removes an incorrect strlen check.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1534538/+subscriptions



More information about the Ubuntu-sponsors mailing list