[IO] Fix out of bounds read in TClassEdit#7920
Conversation
|
Starting build on |
hageboeck
left a comment
There was a problem hiding this comment.
This will fix the current bug. What I'm not sure about is whether there might be more cases that have to be handled?
|
We test RVec I/O and it works. Unless Philippe knows off the top of his head, we'll fix other bugs when we encounter them. |
|
Build failed on mac11.0/cxx17. Errors:
|
f821720 to
031146e
Compare
|
Starting build on |
|
Build failed on ROOT-fedora31/noimt. Warnings:
|
|
Build failed on ROOT-fedora30/cxx14. Warnings:
|
|
Build failed on mac1014/python3. Warnings:
|
|
Build failed on ROOT-ubuntu16/nortcxxmod. Warnings:
|
|
Build failed on ROOT-performance-centos8-multicore/default. Warnings:
|
|
Build failed on ROOT-debian10-i386/cxx14. Warnings:
|
|
Build failed on mac11.0/cxx17. Warnings:
|
When doing I/O of RVec objects, TClassEdit::STLArgs was accessing an element one after the end of a static array. asan rightly complains. This commit fixes root-project#7903, which contains more details.
031146e to
6e30d2d
Compare
|
Starting build on |
|
Build failed on windows10/cxx14. Errors:
And 50 more |
|
Windows failure is unrelated, I finally got it right, merging |
When doing I/O of RVec objects, TClassEdit::STLArgs was accessing
an element one after the end of a static array. asan rightly complains.
This commit fixes #7903,
which contains more details.