Skip to content
Snippets Groups Projects
Commit 0dce1337 authored by Rick Pasetto's avatar Rick Pasetto
Browse files

Fix unposted bug: potential incorrect contract in LLMediaEntry::asLLSD(LLSD& sd)

Review #26

Callum found this potential bug in LLMediaEntry::asLLSD(LLSD&). It
does not erase the incoming LLSD's WHITELIST_KEY. Every other key is
overwritten in this manner, but for the WHITELIST_KEY it is just
appended. Note that this is in code common to the server...but I do
not believe at this point that there is a bug exhibited by this.

Added unit test to test for this case.
parent 051190a9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment