Almost.  Here's the correct fix.

  Tue Jul 29 18:15:11 CEST 2008  Juliusz Chroboczek <[EMAIL PROTECTED]>
    * Fix incorrect freeing of reqbuf in big buffer case.
    Thanks to Alan Jenkins.
  diff -rN -u old-polipo/server.c new-polipo/server.c
  --- old-polipo/server.c 2008-07-29 18:15:45.000000000 +0200
  +++ new-polipo/server.c 2008-07-29 18:15:45.000000000 +0200
  @@ -1745,8 +1745,7 @@
       return 1;

    fail:
  -    dispose_chunk(connection->reqbuf);
  -    connection->reqbuf = NULL;
  +    httpConnectionDestroyReqbuf(connection);
       shutdown(connection->fd, 2);
       pokeFdEvent(connection->fd, -EDOSHUTDOWN, POLLIN);
       httpSetTimeout(connection, 60);


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Polipo-users mailing list
Polipo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to