Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

Is this undefined C behaviour?

c undefined-behavior

How does pointer comparison work in C? Is it ok to compare pointers that don't point to the same array?

Why is it undefined behavior to delete[] an array of derived objects via a base pointer?

Incorrect cast - is it the cast or the use which is undefined behavior

When is casting between pointer types not undefined behavior in C?

A question about union in C - store as one type and read as another - is it implementation defined?

const member and assignment operator. How to avoid the undefined behavior?

Function optimized to infinite loop at 'gcc -O2'

How to explain undefined behavior to know-it-all newbies?

c++ undefined-behavior

gcc-4.9 Undefined Behavior Sanitizer

Realloc on NULL-valued (or undefined) pointer

C++ delete - It deletes my objects but I can still access the data?

32 bit unsigned multiply on 64 bit causing undefined behavior?

c undefined-behavior

With C++11, is it undefined behavior to write f(x++), g(x++)?

No warning or error (or runtime failure) when contravariance leads to ambiguity

Setting extra bits in a bool makes it true and false at the same time

Does sscanf("123456789123456789123456789", "%d", &n) have defined behavior?

c scanf undefined-behavior

In C++11, does `i += ++i + 1` exhibit undefined behavior?

Is this a compiler optimisation bug, or an undefined behaviour?

Why does left shift operation invoke Undefined Behaviour when the left side operand has negative value?