Opened 5 years ago

Closed 5 years ago

#502 closed defect (fixed)

Missing variable quoting in update-smart-drivedb

Reported by: tkaiser Owned by: Christian Franke
Priority: trivial Milestone: Release 6.4
Component: all Version: 6.3
Keywords: Cc:

Description

The update-smart-drivedb script (using version 6.3) does not quote the $SMARTCTL variable correctly in line 125 so when the path to smartctl contains whitespace execution will fail. Currently line 125 reads:

if $SMARTCTL -B "$DEST.new" -P showall >/dev/null; then :; else

Change History (2)

comment:1 Changed 5 years ago by Christian Franke

Owner: set to Christian Franke
Status: newaccepted

comment:2 Changed 5 years ago by Christian Franke

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