Opened 4 years ago

Closed 4 years ago

#1217 closed patch (fixed)

Buffer length for message is not enough on macOS

Reported by: mahori Owned by:
Priority: minor Milestone: Release 7.1
Component: smartd Version:
Keywords: Cc:


DEVICESCAN is specified on macOS, devices are recognized as follows:


Because the device name is too long, buffer length for message is not enough.


The following warning/error was logged by the smartd daemon:

Device: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/RP21@1B,4/IOPP/PXSX@0/IOPP/pci-bridge@4/IOPP/pci-bridge@0/IOPP/pci-bridge@0/IOPP/pci1b21,625@0/AppleAHCI/PRT0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice, ATA error count inc

Device info:
ST8000DM004-2CX188, S/N:WCT1NET7, WWN:5-000c50-0c00c0c0a, FW:0001, 8.00 TB

Attachments (1)

smartd.cpp.diff (430 bytes) - added by mahori 4 years ago.

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by mahori

Attachment: smartd.cpp.diff added

comment:1 Changed 4 years ago by Christian Franke

Milestone: Release 7.1


comment:2 Changed 4 years ago by Christian Franke

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.