lib/functions: minor bug fixes
lib/functions: minor bug fixes

fixes to functions: deref_contents_or_exit and assign_deref_contents_or_exit

devpanel/serverlink,devpanel/serverlink,devpanel/serverlink,devpanel/serverlink,devpanel/serverlink