Re: possible use of unitialized value in v2.0-dev0-274-g1a0fe3be

2019-02-08 Thread Ricardo Nabinger Sanchez
On Wed, 6 Feb 2019 19:12:31 +0100 Tim Düsterhus wrote: > Line 4398 is missing here, it appends a marker (empty string) to mark > the end of the array. > > > ... > > > > 4450 /* look for the Host header and place it in :authority > > */ > > 4451 auth =

Re: possible use of unitialized value in v2.0-dev0-274-g1a0fe3be

2019-02-07 Thread Willy Tarreau
On Wed, Feb 06, 2019 at 07:12:31PM +0100, Tim Düsterhus wrote: (...) > Thus I believe this is a false-positive. I should have read the whole thread, it would have saved me a reply :-) Willy

Re: possible use of unitialized value in v2.0-dev0-274-g1a0fe3be

2019-02-07 Thread Willy Tarreau
Hello, On Wed, Feb 06, 2019 at 02:28:27PM -0200, Ricardo Nabinger Sanchez wrote: > Hello, > > scan-build found a 28-step path where an unitialized value could be used in > h2s_htx_bck_make_req_headers(). > > Here is a shortened version: > > 4378 idx = htx_get_head(htx); // returns the

Re: possible use of unitialized value in v2.0-dev0-274-g1a0fe3be

2019-02-06 Thread Tim Düsterhus
Ricardo, Am 06.02.19 um 17:28 schrieb Ricardo Nabinger Sanchez: > Hello, > > scan-build found a 28-step path where an unitialized value could be used in > h2s_htx_bck_make_req_headers(). > > Here is a shortened version: > > 4378 idx = htx_get_head(htx); // returns the SL that we skip >

possible use of unitialized value in v2.0-dev0-274-g1a0fe3be

2019-02-06 Thread Ricardo Nabinger Sanchez
Hello, scan-build found a 28-step path where an unitialized value could be used in h2s_htx_bck_make_req_headers(). Here is a shortened version: 4378 idx = htx_get_head(htx); // returns the SL that we skip 4379 while ((idx = htx_get_next(htx, idx)) != -1) { 4380