i try to dereferece it inside a function i get seg fault.
somefunc(char * str)
somefunc(""); /*usage */
inside func only i need to do *str to get seg fault. Any clue to avoid it? Thnx
That should work.. get the backtrace and then the value of str just before it segfaults.
Обсуждают сегодня