aboutsummaryrefslogtreecommitdiff
path: root/src/init.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-10-02 15:04:21 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2017-10-02 15:04:43 +0200
commitc5c77bdcc632997dbd1b7633c2f3f3505cd864df (patch)
tree5eec0cd8316324db7cc43c84460afa06cfece615 /src/init.h
parent058c0f996b72e7d4dc4ea80309fd1a430cddabb3 (diff)
parent3a4401a6b899694d25b5ac89c8068e45711bab36 (diff)
Merge #11193: [Qt] Terminate string *pszExePath after readlink and without using memset
3a4401a [Qt] Terminate string *pszExePath after readlink and without using memset (practicalswift) Pull request description: Terminate string `*pszExePath` after `readlink` and before passing to operator `<<`. * `ssize_t readlink(const char *pathname, char *buf, size_t bufsiz)` does not append a null byte to `buf`. * Operator `<<` expects a null-terminated string. Tree-SHA512: fc18844bb23059fead8db0cb9b4b4ba6188f58e3f19ab4719c2737cc5dd6df23ae7d4804ef2820d39b334204a48ee3de1d202c272bcd156e60761af2fcb9349d
Diffstat (limited to 'src/init.h')
0 files changed, 0 insertions, 0 deletions