diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-09-23 02:51:16 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2012-09-23 03:16:58 +0200 |
commit | 83c7cc45daf6fb1f8c36f15297a4657e45a34e88 (patch) | |
tree | c29ad7d8623eb7789c39c519de19ee414db2a95e /src/whois.cpp | |
parent | cff57f7ba780a5c4fc331ccbab489abdc572379c (diff) |
Fix undefined behavior caused by referencing the returned buffer by std::string::c_str() when the object is temporary
Thanks to @ChrisTX for pointing this out
Fixes #257 reported by @helloall
Diffstat (limited to 'src/whois.cpp')
0 files changed, 0 insertions, 0 deletions