|
From: John R.
|
memcheck can generate false positive complaints of uninit when user code tests a partially-defined word for inequality. If the defined bits are enough to produce inequality, then the uninitialized bits become "don't care", but memcheck does not understand this. http://bugs.kde.org/show_bug.cgi?id=117362 So beware if your code tests multiple bitfields in the same word for _in_equality ("!="). https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=174324 This bug is very disappointing, because "no false positive complaints of uninit" was a goal [a promised benefit] of memcheck having an individual Valid bit for each bit of user memory. -- |