http_static: misc bug fixes 61/37761/2
authorDave Barach <dave@barachs.net>
Wed, 7 Dec 2022 00:53:15 +0000 (19:53 -0500)
committerFlorin Coras <florin.coras@gmail.com>
Wed, 7 Dec 2022 04:01:11 +0000 (04:01 +0000)
The request vector generated by hss_ts_rx_callback() must be NULL
terminated.

The hss_main_t use_ptr_thresh member must be a u64 since
unformat_memory_size() expects it. Otherwise, the adjacent u8
enable_url_handlers may have an accident.

Type: fix

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I2cc08e3cbd31b225fb03799283c055515add13bf


No differences found