]> git.ipfire.org Git - thirdparty/lxc.git/commit
monitor: simplify abstract socket logic 1539/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Sat, 6 May 2017 21:40:04 +0000 (23:40 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 8 May 2017 10:15:44 +0000 (12:15 +0200)
commitfcaef9c7dd2962ac31405b508b9962a290547a03
treef1c77236a14f08505fcfa041e2e8b2bcac928c3f
parent899a9f554500ad56e120302f94a0134f2e2c2354
monitor: simplify abstract socket logic

Older version of liblxc only allowed for 105 bytes to be used for the abstract
unix domain socket name because the code for our abstract unix socket handling
performed invalid checks. Since we \0-terminate we could now have a maximum of
106 chars. But do not break backwards compatibility we keep the limit at 105.

Reported-by: 0x0916 w@laoqinren.net
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/monitor.c