martijnvanbrummelen / nwipe

nwipe secure disk eraser
GNU General Public License v2.0
682 stars 77 forks source link

Fix intermittent segfault when --logfile specified without insufficient permissions to write to directory #491

Closed PartialVolume closed 11 months ago

PartialVolume commented 11 months ago

Under the following conditions a segfault will occur upon starting nwipe.

Run nwipe with --logfile option AND run nwipe in a directory that does not have write permissions so the logfile can't be created AND run nwipe without sudo or root or as as a user without sufficient privileges so you don't have permissions to write to the directory.