sensepost / hostapd-mana

SensePost's modified hostapd for wifi attacks.
https://w1f1.net/
Other
550 stars 128 forks source link

Fix potential heap off-by-null bugs #56

Closed evilpan closed 2 years ago

evilpan commented 2 years ago

Just use strdup to replace malloc + strcpy allocations.

lgtm-com[bot] commented 2 years ago

This pull request fixes 5 alerts when merging 7d29c22167f400a510e6c8852a4bee3a16a848dc into 1302a7204d9118efa0668df1924c938dbe8d1b11 - view on LGTM.com

fixed alerts:

lgtm-com[bot] commented 2 years ago

This pull request fixes 5 alerts when merging facdd47c342e44b2eb4c322b096e8f46f640a3ac into 1302a7204d9118efa0668df1924c938dbe8d1b11 - view on LGTM.com

fixed alerts:

lgtm-com[bot] commented 2 years ago

This pull request fixes 5 alerts when merging 3683770aa150e4a5d2d51845f86ac1489c7b49c8 into 1302a7204d9118efa0668df1924c938dbe8d1b11 - view on LGTM.com

fixed alerts:

lgtm-com[bot] commented 2 years ago

This pull request fixes 5 alerts when merging 99ce7da4621a0b24b3708faa5fc18d2fbda2c805 into 1302a7204d9118efa0668df1924c938dbe8d1b11 - view on LGTM.com

fixed alerts: