06f6e4b7b7
If the server responds with a JSON response with neither a valid lock nor a valid message, we can end up performing a NULL pointer dereference. Let's detect this case and return an error that indicates that the server has sent an invalid response. |
||
---|---|---|
.. | ||
schemas | ||
api_test.go | ||
api.go | ||
cache_test.go | ||
cache.go | ||
lockable.go | ||
locks_test.go | ||
locks.go |