citra/src
Lioncash 5ddd382a9b kernel/svc: Do nothing if svcOutputDebugString's length is <= 0
While likely very uncommon, this sanitizes the input and does nothing in
the event of the length being equal to or less than zero, avoiding
constructing a std::string when there's no need to. It also avoids an
out-of-memory scenario, as a negative value would wrap around to its
equivalent unsigned representation in std::string's constructor.

e.g. If someone was silly and a length of -1 was specified, this would
make a string with a length of 0xFFFFFFFFFFFFFFFF on a 64-bit platform,
which will obviously eventually fail due to the allocation being way too
large.
2018-09-17 19:52:53 -04:00
..
audio_core audio_core/sink_details: Change std::string parameter into std::string_view 2018-09-15 15:48:24 +02:00
citra Merge pull request #4138 from FearlessTobi/change-web-links 2018-09-12 16:31:59 -04:00
citra_qt Merge pull request #4231 from CaptV0rt3x/port-1336 2018-09-17 22:37:40 +08:00
common Initial support for scripting (#4016) 2018-09-11 22:00:12 +02:00
core kernel/svc: Do nothing if svcOutputDebugString's length is <= 0 2018-09-17 19:52:53 -04:00
dedicated_room Change variable name to web_api_url 2018-09-12 19:07:06 +02:00
input_common SDLJoystick: Addressed review comments 2018-09-11 14:50:41 +02:00
network Merge pull request #4191 from valentinvanelslande/minor-fix 2018-09-08 10:05:33 +08:00
tests Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
video_core Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
web_service Change variable name to web_api_url 2018-09-12 19:07:06 +02:00
.clang-format
CMakeLists.txt