Re: [PATCH] Fix random crashes in http_cleanup()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 02, 2008 at 09:28:33PM +0100, Mike Hommey wrote:
> For some reason, http_cleanup was running all active slots, which could
> lead in situations where a freed slot would be accessed in
> fill_active_slots. OTOH, we are cleaning up, which means the caller
> doesn't care about pending requests. Just forget about them instead
> or running them.

Hi, I can confirm that this fixes the segfault we managed to reproduce,
but didn't look deeper into the changes.

There's a warning when compiling http.c, trivial to fix:

      CC http.o
  http.c: In function ‘http_cleanup’:
  http.c:288: warning: unused variable ‘wait_url’

Thanks!, Gerrit.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux