[lxc/lxc] 7452ee: lxc-unshare: fix an buffer overflow issue in lxc_u...

1 view
Skip to first unread message

Stéphane Graber

unread,
Mar 11, 2024, 3:42:46 PMMar 11
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/main
Home: https://github.com/lxc/lxc
Commit: 7452ee8aba5da0addc4dd614d17a4a7c3a462aa9
https://github.com/lxc/lxc/commit/7452ee8aba5da0addc4dd614d17a4a7c3a462aa9
Author: HappyDrink-okk <liu...@yeah.net>
Date: 2024-03-11 (Mon, 11 Mar 2024)

Changed paths:
M src/lxc/tools/lxc_unshare.c

Log Message:
-----------
lxc-unshare: fix an buffer overflow issue in lxc_unshare

If the input parameter length is greater than PATH_MAX, a buffer overflow will occur.

Signed-off-by: HappyDrink-okk <liu...@yeah.net>


Commit: 52cd79b7b85c2f4f2a91e41f5a19bd7648c7a1f9
https://github.com/lxc/lxc/commit/52cd79b7b85c2f4f2a91e41f5a19bd7648c7a1f9
Author: Stéphane Graber <stgr...@stgraber.org>
Date: 2024-03-11 (Mon, 11 Mar 2024)

Changed paths:
M src/lxc/tools/lxc_unshare.c

Log Message:
-----------
Merge pull request #4410 from HappyDrink-okk/main

lxc-unshare: fix an buffer overflow issue in lxc_unshare


Compare: https://github.com/lxc/lxc/compare/8dd40b5abbfb...52cd79b7b85c

To unsubscribe from these emails, change your notification settings at https://github.com/lxc/lxc/settings/notifications
Reply all
Reply to author
Forward
0 new messages