add end pointer to osc_set arguments to check for buffer overflows