[sr-dev] git:master: core: switch.c Fixed dereference of null pointer