Skip to content

GCC 10.3: Wstringop-overflow in FabConv#2660

Closed
ax3l wants to merge 1 commit into
AMReX-Codes:developmentfrom
ax3l:fix-Wstringop-overflow
Closed

GCC 10.3: Wstringop-overflow in FabConv#2660
ax3l wants to merge 1 commit into
AMReX-Codes:developmentfrom
ax3l:fix-Wstringop-overflow

Conversation

@ax3l

@ax3l ax3l commented Mar 16, 2022

Copy link
Copy Markdown
Member

Summary

Spotted a buffer overflow when building amrvis with GCC 10.3.

Additional background

See AMReX-Codes/Amrvis#17
See BLAST-WarpX/warpx#2978

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

Spotted a couple of buffer overflows when building amrvis with
GCC 10.3.
@ax3l ax3l requested a review from WeiqunZhang March 17, 2022 17:48
@ax3l ax3l changed the title GCC 10.3: Wstringop-overflow GCC 10.3: Wstringop-overflow in FabConv Mar 18, 2022
@ax3l

ax3l commented Mar 18, 2022

Copy link
Copy Markdown
Member Author

We see the same buffer overflow in WarpX @WeiqunZhang: BLAST-WarpX/warpx#2978

@ax3l

ax3l commented May 4, 2022

Copy link
Copy Markdown
Member Author

transferred in an issue: #2750

help wanted :)

@ax3l ax3l closed this May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants