summaryrefslogtreecommitdiff
path: root/src/libs/din/din.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-11-21 15:44:31 -0800
committerVito Caputo <vcaputo@pengaru.com>2023-11-21 15:44:31 -0800
commit36f35fa226d028533f64e49eafbdcd829b1d7ec1 (patch)
treeaa8c991d6e4c13624bcc0c9cc4c1f31105d559ec /src/libs/din/din.c
parentad30f7a72803f09c39ffc6fcac8486bec97cf682 (diff)
modules/playit: tomix must be signed to handle negatives
This can potentially be negative depending on what n_queued returns, and the early-exit comparison considered that by using <= 0 but size_t is unsigned, so it just wraps around then segfaults in the Very Large Copy attempt. Trivial fix, interestingly discovered during windows testing where the SDL driver was readily causing this to go negative - it never happend in linux testing.
Diffstat (limited to 'src/libs/din/din.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved