tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NULL pointer arithmetic issues

When running the ATF tests under MKLIBCSANITIZER [1], there are many
NULL pointer arithmetic issues .

These issues are in macros like:
 - etc

These macros wrap internally pserialize-safe linked lists.

What's the proper approach to address this issue?

These reports are responsible for around half of all kinds of the
remaining Undefined Behavior unique issues when executing ATF tests.

[1] ./ -N0 -U -V MAKECONF=/dev/null -V HAVE_LLVM=yes -V MKGCC=no
-V MKLLVM=yes -V MKLIBCSANITIZER=yes -j8 -u -O /public/netbsd-llvm

Attachment: signature.asc
Description: OpenPGP digital signature

Home | Main Index | Thread Index | Old Index