In function ‘__copy_or_move’,
inlined from ‘operator()’ at /usr/include/c++/12/bits/ranges_algobase.h:304:38,
inlined from ‘operator()’ at /usr/include/c++/12/bits/ranges_algobase.h:501:27,
inlined from ‘operator()’ at /usr/include/c++/12/bits/ranges_algobase.h:495:7,
inlined from ‘decodeLength.constprop’ at /home/crixu/canary/src/security/rsa.cpp:172:22:
/usr/include/c++/12/bits/ranges_algobase.h:275:27: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
275 | *__result = *__first;
| ^
/usr/include/c++/12/array: In function ‘decodeLength.constprop’:
/usr/include/c++/12/array:115:56: note: at offset 4 into destination object ‘_M_elems’ of size 4
115 | typename _AT_Type::_Type _M_elems;
| ^
In function ‘__copy_or_move’,
inlined from ‘operator()’ at /usr/include/c++/12/bits/ranges_algobase.h:304:38,
inlined from ‘operator()’ at /usr/include/c++/12/bits/ranges_algobase.h:501:27,
inlined from ‘operator()’ at /usr/include/c++/12/bits/ranges_algobase.h:495:7,
inlined from ‘decodeLength.constprop’ at /home/crixu/canary/src/security/rsa.cpp:172:22:
/usr/include/c++/12/bits/ranges_algobase.h:275:27: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
275 | *__result = *__first;
| ^
/usr/include/c++/12/array: In function ‘decodeLength.constprop’:
/usr/include/c++/12/array:115:56: note: at offset 5 into destination object ‘_M_elems’ of size 4
115 | typename _AT_Type::_Type _M_elems;
What OS are you seeing the problem on?
Linux
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Priority
Low
Area
What happened?
What OS are you seeing the problem on?
Linux
Code of Conduct