]> git.feebdaed.xyz Git - 0xmirror/SOEM.git/commit
Fix potential buffer overflow in exc_FOEread/write
authorHans-Erik Floryd <hans-erik.floryd@rt-labs.com>
Wed, 3 Apr 2024 14:10:31 +0000 (16:10 +0200)
committerHans-Erik Floryd <hans-erik.floryd@rt-labs.com>
Thu, 4 Apr 2024 07:55:57 +0000 (09:55 +0200)
commit83c6264f9929991bcf2918514114d19efe308e2a
treeeb6e3fe70e92f8b9a8464e6107244910df5cbfd9
parentd478bce787d2f860f8582240ee26afe78fcbad25
Fix potential buffer overflow in exc_FOEread/write

An excessively long filename could overflow the mailbox buffer. Fix by
limiting the filename size to EC_MAXFOEDATA.

Problem found and fix proposed by m1etz.
soem/ethercatfoe.c