Skip to content

Conversation

HenningJ
Copy link

Small bugfix.
On Windows (at least), the ErrorLogger didn't correctly check if its internal buffer was full, possible causing an overflow+crash.
That occurred, for example, on initialization, when the drivers directory contained a few additional DLLs which weren't OpenNI drivers. For each non-driver-DLL, an error message is stored in the ErrorLogger, without ever clearing it, quickly filling up the buffer.

This fixes that. When the buffer is full, no more messages are stored in the ErrorLogger (like it was supposed to work).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant