]> git.ozlabs.org Git - ppp.git/commit
pppoe: Fail if ethernet interface name is too long
authorPaul Mackerras <paulus@ozlabs.org>
Wed, 8 Nov 2023 05:54:40 +0000 (16:54 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Wed, 8 Nov 2023 06:05:30 +0000 (17:05 +1100)
commit52a531f7d10bf4f4a80ac9224d2a5a2bffb87d8d
tree402d001ea908c6ba2e130d45615d53dce68c4e5e
parentf19193e0b52c75f579092325f1bb6361c55de8ab
pppoe: Fail if ethernet interface name is too long

If the name of the ethernet interface is longer than can fit in the
relevant structure used for system calls, generate an error rather
than using a truncated interface name.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
pppd/plugins/pppoe/if.c