git-lfs/locking
brian m. carlson 06f6e4b7b7
locking: avoid nil pointer dereference with invalid response
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.
2021-05-24 19:31:57 +00:00
..
schemas Make 'locked_at' required in JSON schema 2019-05-16 12:10:16 +03:00
api_test.go locking: rename locks.VerifiableLocks to SearchLocksVerifiable 2019-03-19 17:01:29 +01:00
api.go locking: avoid nil pointer dereference with invalid response 2021-05-24 19:31:57 +00:00
cache_test.go Refine naming for LockCache methods 2016-12-14 09:44:58 +00:00
cache.go Fix Typos 2019-07-24 07:17:40 +00:00
lockable.go locking: don't assume files are lockable if no patterns exist 2020-06-29 16:35:26 +00:00
locks_test.go locking: "locks --verify" supports "--cached" 2019-03-28 10:12:41 +01:00
locks.go Allow locking/unlocking of nonexistent files 2020-05-10 19:41:36 -07:00