Mercurial > pidgin
comparison libpurple/plugin.c @ 27246:e28b627be482
A few changes to our code to handle chunked transfer-encodings (technically
required for http 1.1 clients, but I guess it hasn't been a problem until now?)
* Most importantly, check that the size of this chunk is less than the size
of the data remaining in the buffer. Otherwise malicious servers could
cause us to crash
* Handle reading chunks that have a semi-colon after them. It seems like
maybe this is allowed but almost never used?
* Assume len is non-NULL (it always is in our case)
* Add some comments
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 02 Jul 2009 07:33:17 +0000 |
parents | 01f1929d0936 |
children | 627d23bfdb05 552b5292f36f |
comparison
equal
deleted
inserted
replaced
27245:a051f77d86a8 | 27246:e28b627be482 |
---|