On Thu, Feb 29, 2024 at 09:44:12PM +0800, Chien Wong wrote: > The following config file contains invalid items: > ---- > filter_rssi=1234 # should be rejected > > network={ > mode=-1 # should be rejected > ssid="ssid" > psk="password" > } > ---- > But it is accepted by the config parser. The issue is due to using NULL > to represent no limit. If a boundary is set to 0, it's disregarded. > Fix this. > Note that string parser is not affected as length cannot be negative and > we are not limiting any string to be always empty. Thanks, applied. -- Jouni Malinen PGP id EFC895FA _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap