[PATCH] fix buffer overflow in smartctl
Brought to you by:
cornwell
This patch fixes a buffer overflow in ParseOpts()
similar to that posted earlier in regards to smartd.
The original code copies arbitrary length user input
into a fixed length buffer, and is replaced in this
patch by a call to getopt() without use of the
fixed-length buffer.
buffer overflow patch to smartctl