Repository navigation
Conversation
1c27543 to
418c898
Compare
XV02
left a comment
There was a problem hiding this comment.
Thanks for all your work, just some correctness comments :DD
418c898 to
fcd7a4c
Compare
8040315 to
18cb1e6
Compare
|
Thanks — addressed:
|
XV02
left a comment
There was a problem hiding this comment.
Thanks for addressing all my comments, LGTM! :DD
18cb1e6 to
a495638
Compare
a495638 to
dc7d01e
Compare
|
Hi @matejk ! We agreed that this change can be merged into our next release, 2.4.9.2. Since for the previous release process some PRs got squashed, git might be marking some changes incorrectly in this PR when we switched the base branch, if this happened please merge your branch with the release/2.4.9.2 and please confirm there are no conflicts so we can merge it with the new release branch. Thank you for your contribution! |
pews, ret in ltfs_profiler_set, cap_buf after a failed READ BUFFER, and the ICU normalize output pointer compared before its return code was checked.
dc7d01e to
8e4751e
Compare
|
Rebased on I recommend including #611 in the same release. The suite uses the file tape backend, needs no tape drive and runs in a few seconds, so it gives a quick check that basic functionality is not broken. |
Two commits:
tape_get_pewsleaves*pewsunset on-LTFS_UNSUPPORTEDwhile the caller computespews + 10;ltfs_profiler_settested an unsetretwhen the volume had neither an iosched nor a device handle;_get_dumpderived a transfer length fromcap_bufwithout checking the READ BUFFER result; the ICU normalize callers compared the output pointer against the input before checking the return code, reading uninitialized memory and potentially leaking the input buffer.reallocwas assigned straight back topriv.dk_list, so a failure overwrote the only pointer to the existing buffer with NULL and leaked it; the original pointer is now kept and freed on the error path.