For the following command in the ssh binary of OpenSSH portable: $ ./ssh -e^ theoptarg's length is1, so accessingoptarg[2]is out of the allocated memory region. Theargvis allocated on the heap here: [i]=xstrdup(av[i]); Address Sanitizer log: $ ./ssh -e^ === ==1660986==ERRO...
> is the reason for the existence of the pointer to void type. > Previous to the invention of the pointer to void type, > the pointer to char type was used to accomplish the same tasks. > > -- > pete[/color] K & R - Second Edition Section 6.6 Char *strdup(char *s) { char ...