]> granicus.if.org Git - libevent/commit
uri decode: fix for warning "use of uninitialised value"
authorAzat Khuzhin <a3at.mail@gmail.com>
Thu, 28 Feb 2013 13:19:44 +0000 (17:19 +0400)
committerAzat Khuzhin <a3at.mail@gmail.com>
Thu, 28 Feb 2013 13:19:44 +0000 (17:19 +0400)
commit64b6eceaba1a40ab0b175fa9fd9329d3e978ce6e
tree80746f978d8d35dffac40b405122cebdca48c428
parent87c56727b61e48c102d21f1bb6477de8ec001869
uri decode: fix for warning "use of uninitialised value"

This patch add check in evhttp_decode_uri_internal() that next 2 symbols
are exists in array of chars for decoding, if don't have two next 2
symbols don't try to decode '%FF'
http.c