SpiceQA
Questions
Tags
Users
Badges
undefined-behavior
376 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Following C code compiles and runs, but is it undefined bahaviour?
user_8163401
0
•
asked Mar 16, 2021
4
5
99
undefined-behavior
pointers
c
Is it UB to return a pointer to local variable?
user_6699433
0
•
asked Mar 12, 2021
4
1
202
dangling-pointer
undefined-behavior
language-lawyer
pointers
c
Union with const and non-const members
user_1206102
0
•
asked Mar 3, 2021
3
4
240
undefined-behavior
language-lawyer
unions
pointers
c
Polymorphic update on struct fields in Rust
user_8578679
0
•
asked Mar 3, 2021
3
1
118
rust
undefined-behavior
unsafe
Is there a way to reliably malloc the same block of memory as a previously freed block, then access the content that was previously in it?
user_830431
0
•
asked Mar 3, 2021
2
2
99
dynamic-memory-allocation
free
undefined-behavior
malloc
c
Does sscanf require a null terminated string as input?
user_4593267
0
•
asked Mar 1, 2021
17
2
1667
undefined-behavior
language-lawyer
scanf
c
Is returning from a noreturn function undefined behavior, if it returns with a call to another noreturn function?
Admin
1
•
asked Feb 28, 2021
4
3
134
noreturn
undefined-behavior
c++
Why is gcc-multilib output incorrect for bitwise operation?
user_11034893
0
•
asked Feb 24, 2021
4
2
61
undefined-behavior
integer-overflow
bit-manipulation
gcc
c
Any reason why 0.0/0.0 makes negative nan in C++?
user_15159344
0
•
asked Feb 20, 2021
3
1
242
undefined-behavior
nan
c++
It it UB to read some contiguous array cells as a larger type?
user_11269657
0
•
asked Feb 18, 2021
3
1
59
undefined-behavior
arrays
c++
Prev
Prev
13
14
15
(current)
16
17
Next
Next
Hot Questions