]> sigrok.org Git - libserialport.git/commitdiff
Increase max class string length to 64
authorHans <redacted>
Tue, 19 Sep 2023 20:36:21 +0000 (22:36 +0200)
committerSoeren Apel <redacted>
Fri, 30 Aug 2024 21:05:30 +0000 (23:05 +0200)
macosx.c

index 0d22bb6fe10b4fa1877c8c80a87e79f8ddee3550..0b039817cd468dc818f1bcfec0f3da2e43e916e2 100644 (file)
--- 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)))