[PATCH] RRM: use dynamically allocated buffer for beacon report

Jouni Malinen j at w1.fi
Thu Mar 9 08:37:21 PST 2017


On Wed, Mar 08, 2017 at 02:31:49PM +0200, Andrei Otcheretianski wrote:
> The maximum required size for each beacon report element is known
> in advance: it is the size of the beacon report element fixed fields +
> the size of the reported frame body subelement.
> 
> Allocate the buffer used for consructing the beacon report element
> dynamically with the maximum needed size, instead of using a very
> large static buffer.

Thanks, applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list