Anonymous | Login | Signup for a new account | 2025-01-24 19:19 UTC |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000697 | Taste | [All Projects] PolyORB-HI-C | public | 2017-10-26 12:30 | 2024-03-20 13:20 | ||||
Reporter | miguel_munoz | ||||||||
Assigned To | hugues | ||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | ||||
Status | closed | Resolution | won't fix | ||||||
Platform | Linux, RTEMS | OS | OS Version | ||||||
Summary | 0000697: write result not checked in serial drivers | ||||||||
Description | The drivers po_hi_driver_linux_serial.c and po_hi_driver_leon_serial.c do not perform any check that the number of bytes written to the serial line is the number requested. E.g.: But it is never checked if __PO_HI_MESSAGES_MAX_SIZE == n. In case that the size of the message __PO_HI_MESSAGES_MAX_SIZE is larger than the maximum possible for the serial line, the message is not transmitted correctly and no error is reported. Furthermore, the synchronization with the reader is lost permanently (the reader always reads __PO_HI_MESSAGES_MAX_SIZE bytes, introducing an offset). | ||||||||
Additional Information | All the drivers should be checked in case that the same error appears elsewhere. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Notes | |
(0003061) hugues (administrator) 2017-10-26 12:31 |
Hi Miguel, Assigning to myself, we solved similar issues in the core, we take not we have to perform the same for the drivers. |
Issue History | |||
Date Modified | Username | Field | Change |
2017-10-26 12:30 | miguel_munoz | New Issue | |
2017-10-26 12:30 | miguel_munoz | Status |
new => assigned |
2017-10-26 12:30 | miguel_munoz | Assigned To |
=> user2 |
2017-10-26 12:31 | hugues | Assigned To |
user2 => hugues |
2017-10-26 12:31 | hugues | Note Added: 0003061 | |
2024-03-20 13:20 | maxime | Status |
assigned => closed |
2024-03-20 13:20 | maxime | Resolution |
open => won't fix |
Copyright © 2000 - 2011 MantisBT Group |