diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2019-10-16 08:52:51 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2020-03-25 18:52:11 -0400 |
commit | 6945755e5299e071e46d53f09821ac73993f7afe (patch) | |
tree | 64c55b8ae3118ace7b7d1edd385879c8a37b77b1 /indra/llcommon/lleventapi.h | |
parent | afaad3cef749e926cb63b6aed0c14f25d3495d55 (diff) |
DRTVWR-476: Validate LLEventPumpOrPumpName replyPump
passed to postAndSuspendsetup().
The requestPump is optional, and the function varies its behavior depending on
whether that parameter is empty or meaningful. But it unconditionally uses the
replyPump. Passing an empty LLEventPumpOrPumpName caused mysterious crashes.
Add llassert_always_msg() to make the coding error explicit in such a case.
Also streamline access to meaningful requestPump and replyPump by temporarily
caching the bound LLEventPump reference.
Diffstat (limited to 'indra/llcommon/lleventapi.h')
0 files changed, 0 insertions, 0 deletions