Fix cases of undefined behavior found by ubsan.
treee4f2fc8aab0df6929e6d61bf1ea4eea0998b2df8
-rw-r--r-- 3647 .clang-format
-rw-r--r-- 10825 .gitignore
-rw-r--r-- 2430 .travis.yml
-rw-r--r-- 18296 HelenOS.config
-rw-r--r-- 5115 Makefile
-rw-r--r-- 3706 README.md
drwxr-xr-x - abi
drwxr-xr-x - boot
drwxr-xr-x - contrib
drwxr-xr-x - defaults
drwxr-xr-x - doxygen
drwxr-xr-x - kernel
drwxr-xr-x - release
drwxr-xr-x - tools
drwxr-xr-x - uspace
-rw-r--r-- 1950 version