From fe2c609bdd2c235cc8ff4d5f2464f145fd1c744b Mon Sep 17 00:00:00 2001 From: Hans Date: Tue, 19 Sep 2023 22:36:21 +0200 Subject: [PATCH] Increase max class string length to 64 --- macosx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx.c b/macosx.c index a0df84e..6c93d2c 100644 --- a/macosx.c +++ b/macosx.c @@ -36,7 +36,7 @@ SP_PRIV enum sp_return get_port_details(struct sp_port *port) io_object_t ioport, ioparent; CFTypeRef cf_property, cf_bus, cf_address, cf_vendor, cf_product; Boolean result; - char path[PATH_MAX], class[16]; + char path[PATH_MAX], class[64]; DEBUG("Getting serial port list"); if (!(classes = IOServiceMatching(kIOSerialBSDServiceValue)))