Even better is to know the difference between
char* inputbad = "hello";
char inputgood[] = "hello";
byte* output = (byte*) inputgood; // Won't crash
And always use const where appropriate!
BTW: On the Uno, you get at least the warnings:
warning: invalid conversion from 'byte* {aka unsigned char*}' to 'const char*' [-fpermissive]
warning: invalid conversion from 'char*' to 'byte* {aka unsigned char*}' [-fpermissive]