Try to get correct buffer size to avoid races (#53547)

* Try to get correct buffer size to avoid races

  fixes #51393

* fix test, mock buffer function since all is mocked
This commit is contained in:
Brian Coca
2019-03-14 11:04:56 -04:00
committed by GitHub
parent 86405b8fe4
commit e280f2f7b0
3 changed files with 37 additions and 18 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- Attempt to avoid race condition based on incorrect buffer size assumptions