lusipad
791b782a59
Fix typos and grammar errors in comments
...
- Fix header comment in ec_eoe.h referencing wrong source file (ec_foe.c -> ec_eoe.c)
- Fix redundant wording "Free memory allocated memory" -> "Free allocated memory" in oshw.c files
- Fix typo "lenghts" -> "lengths" in macosx/nicdrv.h
- Fix typo "incomming" -> "incoming" in rtems/nicdrv.c
- Fix double word "the the" -> "to the" in vxworks/nicdrv.c
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-26 12:51:01 +01:00
Hans-Erik Floryd
5c27e20332
fix: replace sprintf with snprintf
...
Replace unsafe sprintf() calls with snprintf() to prevent buffer
overflow vulnerabilities. This adds bounds checking to ensure we don't
write beyond allocated buffer space.
Change-Id: Ia5576dd85bfc8762c7fe01f22f38156078ac34cd
2026-02-26 12:02:49 +01:00
Hans-Erik Floryd
bb63f23ea7
fix: replace strcpy with strncpy
...
Replace all instances of strcpy() with strncpy() to prevent buffer
overflow vulnerabilities. The strcpy() function does not perform
bounds checking, which can lead to security issues when copying
strings of unknown or excessive length.
Problem reported and fix suggested by Jaeyeong Lee.
Change-Id: Ide896dbae3bdaf9001287b4d3e387efd355e73bd
2026-02-26 12:02:49 +01:00
Hans-Erik Floryd
bd9f7b86c4
Update headers
...
Fix some headers that were missed in previous commits.
Change-Id: Ifa08fedf9199ba8c8a0766293bc7933e7f7475f2
2025-07-11 14:13:56 +02:00
Hans-Erik Floryd
ed3ce755f2
Rename PACKED to OSAL_PACKED
...
Use a less generic name to avoid namespace conflicts.
Fixes #835 .
Change-Id: I222878742ed7d02d19ad50ff732adabfe4f0729a
2025-07-10 11:38:57 +02:00
Hans-Erik Floryd
5d87e8d9a2
Add contrib folder
...
Move unmaintained ports and samples to contrib folder.
Change-Id: Ie1b1a8290a0e2204b6e4e2e5c838585eb88d9e81
2025-07-10 10:23:07 +02:00