commit cbfa2b0228d3f51e40eaf04b0f2f155aa8450c0e
Author: Matthew Dillon <[email protected]>
Date: Mon Mar 22 16:27:31 2021 -0700
gpt - Fix corruption in device_name string
* gpt_open() was assign a global char * to a local stack-based buffer.
Change the stack-based buffer to a static.
* Fixes corrupted device names.
Summary of changes:
sbin/gpt/gpt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cbfa2b0228d3f51e40eaf04b0f2f155aa8450c0e
--
DragonFly BSD source repository