kcat / alure

Alure is a utility library for OpenAL, providing a C++ API and managing common tasks that include file loading, caching, and streaming
zlib License
70 stars 20 forks source link

Fix crash when a pending buffer is assigned to a source #22

Closed pocak100 closed 6 years ago

pocak100 commented 6 years ago

I've tried using the asynchronous buffer loading feature, and ran into a couple of bugs.

One is a dereference of an end iterator (one past last item) in ContextImpl::addPendingSource.