Please sign in to comment.
Fix possible undefined behaviours in libmythprotoserver
The intermediary QByteBuffer returned by toLocal8Bit would have been destroyed at the end of the expression, making the pointer used invalid. Wondering what kind of crash/instability this would have caused. I went through the whole code, and only found those two. Thanks to Malcolm Parsons (pepsiman) for reporting a similar issue in 9ea5252.
- Loading branch information...
Showing with 4 additions and 2 deletions.