bugfix/ai-static-analysis #82

Merged
localhorst merged 33 commits from bugfix/ai-static-analysis into master 2025-12-10 21:52:17 +01:00

33 Commits

Author SHA1 Message Date
9aca86af0c add call to logger 2025-12-10 21:49:44 +01:00
26c42a7e5d fix shred bytes counters 2025-12-10 21:44:27 +01:00
cbf781f0e5 fix prod build 2025-12-10 21:37:14 +01:00
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