sslab-gatech / opensgx

OpenSGX
Other
294 stars 80 forks source link

Inadequate string quoting in opensgx shell script #17

Open jonhoo opened 8 years ago

jonhoo commented 8 years ago

A number of places in opensgx, arguments are used without proper quoting, meaning paths with spaces would be treated incorrectly. For example:

measure $1 > $MEASURE

should be

measure "$1" > "$MEASURE"