bitcoin/bitcoin — pull request #1564 by Diapolo (2012-07-06 12:03:01+00:00)
Title: IPC-server hardening and update

- use std::string instead char * to initially store passed URIs in bitcoin.cpp
- add IMPLEMENT_RANDOMIZE_STACK for ipcThread()
- add a global to check if ipcInit() succeeded
- log / print boost interprocess exceptions
- add MAX_URI_LENGTH in guiconstants.h
- remove unneeded includes and ipcShutdown() from qtipcserver.cpp
- fix a small mem-leak by deleting mq before re-using it
- add some more comments

This is intended to improve some parts of our current IPC code, mostly security wise, it does not change the URI handling behaviour.