Project

General

Profile

Bug #12588

savecore could be smarter when expanding dumps

Added by Jason King 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
cmd - userland programs
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

I had a dump where the compressed dump was erroneously named 'vmcore.0'. Not noticing beforehand, running savecore with it ended up truncating the file and immediately erring out. I think it's reasonable for savecore to make sure it's not overwriting its source file.

Also available in: Atom PDF