Skip to content

Fix out-of-bounds array error in C++ API#251

Merged
rafmudaf merged 1 commit intoOpenFAST:devfrom
sayerhs:d/memleak
Feb 25, 2019
Merged

Fix out-of-bounds array error in C++ API#251
rafmudaf merged 1 commit intoOpenFAST:devfrom
sayerhs:d/memleak

Conversation

@sayerhs
Copy link
Contributor

@sayerhs sayerhs commented Feb 25, 2019

This OOB error was reported in Nalu-Wind nightly testing by LLVM/Clang
address sanitizer:
https://my.cdash.org/testDetails.php?test=45554439&build=1613318

==17307==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60300080c398 at pc 0x000000496f7f bp 0x7ffd323df520 sp 0x7ffd323decd0 READ of size 1025 at 0x60300080c398 thread T0
0x60300080c398 is located 0 bytes to the right of 24-byte region [0x60300080c380,0x60300080c398)

This issue was reported by Jon Rood. The fix implemented is similar to
the one discussed in #243.

This OOB error was reported in Nalu-Wind nightly testing by LLVM/Clang
address sanitizer:
https://my.cdash.org/testDetails.php?test=45554439&build=1613318

==17307==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60300080c398 at pc 0x000000496f7f bp 0x7ffd323df520 sp 0x7ffd323decd0 READ of size 1025 at 0x60300080c398 thread T0
0x60300080c398 is located 0 bytes to the right of 24-byte region [0x60300080c380,0x60300080c398)

This issue was reported by Jon Rood. The fix implemented is similar to
the one discussed in OpenFAST#243.
@sayerhs
Copy link
Contributor Author

sayerhs commented Feb 25, 2019

This pull request is ready to merge.

@rafmudaf rafmudaf self-assigned this Feb 25, 2019
@rafmudaf rafmudaf merged commit 8e3c697 into OpenFAST:dev Feb 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants