Commit Graph

85 Commits

Author SHA1 Message Date
6732aacdc8 handle user input 2025-12-11 20:48:18 +01:00
4b0ec380b1 fix atomic 2025-12-10 21:15:39 +01:00
a4f15460d3 make members atomic 2025-12-10 20:40:48 +01:00
15014d8542 Global Using Namespace in Header 2025-12-09 21:58:57 +01:00
c4cbcb99b5 Signed/Unsigned Comparison 2025-12-09 21:23:02 +01:00
f9d63a6a3f Mutex Not Held During List Size Check 2025-12-09 21:21:44 +01:00
7c92386082 Using sprintf Instead of snprintf 2025-12-09 21:09:25 +01:00
ba2f036d88 Uninitialized Memory in cLine 2025-12-07 20:41:09 +01:00
43ccdbd4d8 fix terminate if no drive is detected 2025-12-07 20:39:04 +01:00
460cfeab2c Iterator Invalidation Bug 2025-12-07 20:36:53 +01:00
2ca0b8b061 Missing Validation of Pipe Return Value 2025-12-07 20:30:36 +01:00
46e8dae697 Race Condition with Shared Drive List 2025-12-07 18:59:19 +01:00
eded3f166c Revert "Unchecked popen/pclose Return Values"
This reverts commit bcabad0620.
2025-12-07 18:52:10 +01:00
bcabad0620 Unchecked popen/pclose Return Values 2025-12-07 18:48:38 +01:00
bc4083a98c Resource Leak - File Descriptor Not Checked 2025-12-07 18:47:24 +01:00
2d63788352 Nullptr Return Without Proper Handling 2025-12-07 18:45:42 +01:00
ff6a1763e0 Memory Leak in Drive Scanning 2025-12-07 18:44:53 +01:00
80ffb3c6c3 Merge pull request 'Improve UUID parsing' (#78) from hannesbraun/reHDD:master into master
Reviewed-on: #78
Reviewed-by: Hendrik Schutter <localhorst@mosad.xyz>
2025-12-07 18:15:28 +01:00
664582f01d Improve UUID parsing
The previous approach only worked if the drive name had three letters (usually sda).
2025-07-25 14:26:20 +02:00
9f6cfc17f8 Restore terminal state on termination 2025-07-24 18:55:49 +02:00
d76cb1a195 get connection type 2025-06-21 20:19:30 +02:00
a0c842d90d add terminate action 2025-06-15 22:16:34 +02:00
4ff1888333 ignore system drives as live image 2024-08-19 15:35:22 +02:00
87a859f187 skip delete if drive was shredded before 2024-08-16 10:29:12 +02:00
952e8c8eeb add new flag 2024-08-16 10:29:12 +02:00
b1b9870150 remove dryrun 2024-06-02 09:57:12 +02:00
77b322d47d ignore system drive 2024-06-02 09:51:22 +02:00
a665f8638e find system drive 2024-06-02 09:31:55 +02:00
fb31becf1a get status from smartctl correct 2024-06-01 14:14:58 +02:00
cb421885d0 filter drives with zero capacity 2024-04-24 22:04:52 +02:00
aa7ddf8b36 find nvme with lsblk 2024-04-14 11:13:00 +02:00
8938fe5047 feature/ipc_mgsqueue_printer (#57)
closes #56

Co-authored-by: localhorst <localhorst@mosad.xyz>
Reviewed-on: #57
2022-11-24 20:41:23 +01:00
70bc8cffb4 two lines per entry 2022-09-30 21:20:23 +02:00
b73e1765b5 separate shred and check process 2022-09-27 21:58:59 +02:00
69fd10207d copy newer S.M.A.R.T. values to existing drive 2022-08-24 16:11:36 +02:00
edcf680b95 update shred metric in main thread instead of shred thread 2022-08-22 18:35:27 +02:00
09446b52ca using tfng instead of urandom 2022-08-22 15:27:29 +02:00
4862a45ef6 remove unnecessary mutesx 2022-08-21 16:24:55 +02:00
70f5727eb3 protect lists with mutex 2022-08-21 15:52:47 +02:00
e3aefb24ee added feature to start shredding for all drives 2022-08-20 16:09:40 +02:00
48bbad914f display used time to shred drive 2022-05-11 23:45:05 +02:00
033760c328 disk uuid changed to 8 byte long 2022-05-11 21:53:58 +02:00
af38d60982 code cleanup 2022-01-26 19:33:41 +01:00
25d8ca6920 filter drives only based on UUID 2022-01-26 19:21:38 +01:00
84e42a430b dis[play capacity as double 2022-01-26 16:31:46 +01:00
f2db85aa33 pclose instead fclose 2022-01-26 15:44:32 +01:00
c942f36e49 using lsblk for listing attached drives 2022-01-26 15:15:34 +01:00
068413c15d log attached drives 2022-01-26 13:52:21 +01:00
3d34de1311 release of Beta 0.2.0 2020-09-21 21:56:26 +02:00
555da195b2 Merge branch 'develop' into master 2020-09-21 21:50:04 +02:00