Closed MuhammedReza07 closed 1 year ago
Do complete bound checking before writing the string. Proposed solution: extract the conversion of the NAME from String to bytes into a separate function and improve error handling.
This would be necessary to avoid partial writes.
Bound checks removed by changes in parameters of write_from_slice, namely the addition of 'margin: Option'.
Closed issue.
Do complete bound checking before writing the string. Proposed solution: extract the conversion of the NAME from String to bytes into a separate function and improve error handling.
This would be necessary to avoid partial writes.