Change type of tokenBuffer to QVector.
It sends a corrupted path string to dolphin when cd to a long path.
It overflows when I tried to enter a pretty long path. I mean, it always writes tokenBuffer[MAX_TOKEN_LENGTH - 1] in this scenario.
It sends a corrupted path string to dolphin when cd to a long path.
It overflows when I tried to enter a pretty long path. I mean, it always writes tokenBuffer[MAX_TOKEN_LENGTH - 1] in this scenario.