Commit Graph

19 Commits

Author SHA1 Message Date
Paul Mackerras
6131dfddd8
pppd: Ignore received EAP messages when not doing EAP
This adds some basic checks to the subroutines of eap_input to check
that we have requested or agreed to doing EAP authentication before
doing any processing on the received packet.  The motivation is to
make it harder for a malicious peer to disrupt the operation of pppd
by sending unsolicited EAP packets.  Note that eap_success() already
has a check that the EAP client state is reasonable, and does nothing
(apart from possibly printing a debug message) if not.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2020-10-29 00:18:01 +01:00
Marek Kraus
d54b64bd30 Merging with upstream 2020-10-28 23:31:02 +01:00
aiden-ct
6e45b959bb
Added Quick Start to README.md (#17)
* Added simple Quick Start section to README.md
* Added requirements.txt file for linker script

Co-authored-by: Avamander <avamander@gmail.com>
2020-10-29 00:26:15 +02:00
Pooya Moradi
44fb9f7c87
Added a HW section to the project's README.md (#6)
Added a HW section to the project's README.md, with additional links to original chip manufacturer and a comparison with ESP8266
2020-10-29 00:20:25 +02:00
Marek Kraus
328c0609b7
Merge pull request #20 from ProZsolt/remove-esp32-references
Remove references for ESP32
2020-10-28 23:03:31 +01:00
Marek Kraus
02249b86cf
Merge pull request #7 from PaulCapron/patch-1
vfs: Fix counting in `inode_avail_count`
2020-10-28 23:00:59 +01:00
Marek Kraus
59462a5b68
Merge pull request #1 from jvasile/remove-second-apache
Remove duplicate license file
2020-10-28 23:00:05 +01:00
Marek Kraus
eba302dc85
Merge pull request #21 from BKPepe/pppd
Fix buffer overflow in EAP
2020-10-28 22:46:17 +01:00
Josef Schlehofer
87970e63c5
Fix buffer overflow in EAP
Fixes CVE-2020-8597
2020-10-28 19:41:15 +01:00
Zsolt Prontvai
3572e01f74 Remove references for ESP32 2020-10-28 17:46:37 +00:00
chinawrj
8aaf173a1b
Merge pull request #2 from jevere/master
web_server.c: remove references to ESP32
2020-10-28 23:28:11 +08:00
Jesus Velazquez
143f051b9c web_server.c: remove references to ESP32
Signed-off-by: Jesus Velazquez <jesus.velazquez@gmail.com>
2020-10-28 08:03:53 -07:00
Paul Capron
9d3c1f77da
vfs: Fix counting in inode_avail_count
As seen in `inode_del` (and `inode_alloc`), a free (`NOT_INIT`) node can be found anywhere in `g_vfs_dev_nodes`; it’s a “sparse” list.
So when checking for free nodes, the iterating index variable (`e`) shall be used, not the counter (`count`). The code got that wrong.
For instance, if the first node is not available (type is not `VFS_TYPE_NOT_INIT`), then the function previously returned 0, no matter what, and was iterating the node list in vain.
2020-10-28 11:36:43 +01:00
James Vasile
766bc475f9 Remove duplicate license file 2020-10-27 20:18:31 -04:00
bouffalolab2020
61d60a3dc0
Delete README.md 2020-10-27 10:34:41 +08:00
bouffalolab2020
3a5d815642
Update README.rst 2020-10-26 20:51:11 +08:00
bouffalolab2020
f10bf7c6d9
Update README.rst 2020-10-26 20:50:41 +08:00
Rujun Wang
9ba1743258 Add missing docs 2020-10-26 20:43:20 +08:00
Rujun Wang
ee4a10b1a1 Initial Commit 2020-10-26 20:35:25 +08:00