Skip to content
Commit eae0fc8d authored by Derek Foreman's avatar Derek Foreman Committed by Héctor Orón Martínez
Browse files

shm: Log a warning if a shm buffer address is requested when it may be invalid



If wl_shm_buffer_get_data() is called on a shm pool that has an external
reference and a pending resize, then the buffer may be outside the pool's
current mapping.

Log a warning if this happens.

Signed-off-by: default avatarDerek Foreman <derekf@osg.samsung.com>
Reviewed-by: default avatarBryce Harrington <bryce@osg.samsung.com>
parent 5751b274
Loading
Loading
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