?SVV-F-Bug report

From: Vladimir Sauta <svv@dont-contact.us>
Date: Thu, 19 Aug 1999 17:11:36 +0300

This is release of my investigation :)

Environment:
  Squid-2.2.STABLE4 + delay pool
  squid.conf fragment:
    acl downloads urlpath_regex -i \.gz$ \.tgz$ \.bz2$ \.zip$
    delay_access 1 allow downloads

Symptoms:
  If user uses invalid character in URL squid reloads with
  `FATAL: xstrdup: tried to duplicate NULL pointer!'.

Reason:
- clientReadRequest in src/client_side.c detect error,
  make error message page with incomplete http header and call
- clientCreateStoreEntry (src/client_side.c) call
- delayClient (src/delay_pool.c) call
- aclCheckFast (src/acl.c) call
- aclMatchAclList (-"-) call
- aclMatchAcl (-"-) call
- xstrdup.

Action:
  The simplest - don't use urlpath_regex for delay pool acls :)

2 squid developers: Answer to me about my idea, please.

svv.

---
Received on Thu Aug 19 1999 - 08:08:03 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:04 MST