SpiceQA
Questions
Tags
Users
Badges
undefined-behavior
376 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
How to check if a string passed as argument is a modifiable string
user_6865932
0
•
asked May 6, 2022
4
1
91
undefined-behavior
string-literals
assert
c
string
Boost ASIO "Bad address" error when passing unique_ptr to completion handler
user_4393758
0
•
asked Apr 29, 2022
1
1
164
asio
unique-ptr
undefined-behavior
boost
c++
Why strcpy(buffer +i, buffer + i +1) doesn't work in the same way as using a temporay array?
user_17299754
0
•
asked Apr 28, 2022
1
2
41
c-strings
undefined-behavior
strcpy
c
Constant evaluation of self-assignment in member initialization
user_7325599
0
•
asked Apr 23, 2022
3
0
49
constexpr
undefined-behavior
language-lawyer
c++
Giving snprintf() a too large size when output is small enough
user_6082851
0
•
asked Apr 21, 2022
4
1
188
undefined-behavior
printf
c
Why is that for a pointer *p, p[0] is the address stored at p and p[1] is the address of p itself?
user_15601319
0
•
asked Apr 19, 2022
2
4
73
dereference
undefined-behavior
pointers
printf
c
std::map - decrement iterator gives strange result?
user_527037
0
•
asked Apr 19, 2022
3
2
74
undefined-behavior
iterator
dictionary
algorithm
c++
Does i = x[i]++; lead to undefined behavior?
user_1778275
0
•
asked Apr 12, 2022
4
3
175
post-increment
undefined-behavior
language-lawyer
c
arrays
How to check that a value fits in a type without invoking undefined behaviour?
user_695132
0
•
asked Apr 1, 2022
3
3
146
undefined-behavior
overflow
c
Is returning a pointer to a local variable always undefined behavior
user_12002570
0
•
asked Mar 31, 2022
3
1
141
local
undefined-behavior
pointers
function
c++
Prev
Prev
2
3
4
(current)
5
6
Next
Next
Hot Questions