Fixed malloc, added bus, stack guards