drouting: safe ptr -> string conversion