Commit Graph

230 Commits

Author SHA1 Message Date
b953394c0d Merge pull request 'fix/atomic-drive-members' (#83) from fix/atomic-drive-members into bugfix/ai-static-analysis
Reviewed-on: #83
2025-12-10 21:21:15 +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
acc05dac8b Potential Division by Zero 2025-12-09 22:02:59 +01:00
c27471ae03 Unused Semicolon 2025-12-09 21:59:24 +01:00
15014d8542 Global Using Namespace in Header 2025-12-09 21:58:57 +01:00
c9c4c0fac2 Missing Free for getline Allocated Memory 2025-12-09 21:53:39 +01:00
e5506fd67e Missing Validation of String Length 2025-12-09 21:51:47 +01:00
2c45158ee8 Unchecked ioctl Return Value 2025-12-09 21:47:20 +01:00
24d0eda150 Deprecated sprintf in Logger 2025-12-09 21:33:31 +01:00
228d8ecf6c Missing Check for lseek Return Value 2025-12-09 21:31:31 +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
8872902990 strcpy Without Bounds Checking 2025-12-09 21:15:48 +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
c7d37b1d95 Missing Bounds Check on Array Access 2025-12-07 20:27:56 +01:00
4afc155230 Unchecked strerror() with Invalid Errno 2025-12-07 19:11:35 +01:00
d82c45057b Missing Error Check on time() Calls 2025-12-07 19:04:00 +01:00
f303f9f032 Integer Overflow in sprintf Buffer 2025-12-07 19:01:13 +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
37cbc9500e Memory Leak in main.cpp 2025-12-07 18:42:03 +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
ebe0ef9ec1 Merge pull request 'fix(UI): Restore terminal state on termination' (#77) from hannesbraun/reHDD:terminal-restore into master
Reviewed-on: #77
2025-12-07 18:11:02 +01:00
86660cb112 Merge pull request 'feature/drive-type-ipc' (#80) from feature/drive-type-ipc into master
Reviewed-on: #80
2025-12-07 18:05:36 +01:00
47ab9cc36f update Version 2025-12-07 18:04:52 +01:00
aaf4695656 IPC connection type 2025-12-07 17:51:16 +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
a5eb5532d5 Merge pull request 'feature/sata-usb-info' (#76) from feature/sata-usb-info into master
Reviewed-on: #76
1.2.0
2025-06-22 11:58:22 +02:00
1efe3376c1 display empty string if connection type is not known 2025-06-22 11:57:40 +02:00
36ea3a2bef disable dryrun 2025-06-22 11:46:09 +02:00
fd4ad95ab1 display connection type 2025-06-21 20:25:32 +02:00
d76cb1a195 get connection type 2025-06-21 20:19:30 +02:00
d8584486b9 Merge pull request 'Terminate reHDD on user input' (#75) from feature/control-menu into master
Reviewed-on: #75
2025-06-21 11:51:00 +02:00
20d0dd8e90 reset build settings 2025-06-21 11:49:49 +02:00
1ec4a2c793 fix shred.cpp 2025-06-21 11:46:45 +02:00
a0c842d90d add terminate action 2025-06-15 22:16:34 +02:00
1ceffa56f8 Merge pull request 'Ignore system drives as live image' (#71) from bugfix/systemdrive_live into master
Reviewed-on: #71
1.1.3
2024-08-19 16:30:09 +02:00
4ff1888333 ignore system drives as live image 2024-08-19 15:35:22 +02:00
4b33fb6fdb update live image info 2024-08-17 16:02:58 +02:00
87a859f187 skip delete if drive was shredded before 1.1.2 2024-08-16 10:29:12 +02:00