boostorg / boostorg/config

boost_no_com_value_init.ipp: out of bounds array access

Open
#303 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
80
Forks
184
Avg merge
1h 16m
Merged PRs (30d)
3

Description

```
$ clang++ -I../../.. -fsanitize=undefined config_test.cpp && a
boost_no_com_value_init.ipp:429:11: runtime error: index 4 out of bounds for type 'char const[4]'
boost_no_com_value_init.ipp:443:11: runtime error: index 7 out of bounds for type 'char const[7]'
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the reported clang++ command with UBSan from the config test directory, then inspect boost_no_com_value_init.ipp around lines 429 and 443 and the calling config_test.cpp. Done means the test still passes without the reported out-of-bounds runtime errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.