Hello, i'm trying to encode random, user defined string with base64 and write it to a file. When string includes digital sequence of two digits like:
first_digit=Inc(second_digit) //(for example: '98' or '54')
I'm getting 'External: SIGSEGV' error. Is that kind of bug, or i'm doing something wrong? If it's a bug, what else sequences i need to filter?
Attaching program source.