Make static analysis happy about the length of patternBuf
authorChristopher Dykes <cdykes@fb.com>
Mon, 18 Jul 2016 16:56:55 +0000 (09:56 -0700)
committerFacebook Github Bot 3 <facebook-github-bot-3-bot@fb.com>
Mon, 18 Jul 2016 17:08:29 +0000 (10:08 -0700)
commit9c4ce90b8ec73dff15b5540d3f2dc2c06092390e
treed70892cfab463a1f45850aa9b3bf7652e35f5de5
parent9d4e81294c0486ff21f16e473addda2a306e1aad
Make static analysis happy about the length of patternBuf

Summary: The static analysis doesn't quite understand that we are assigning a NUL to, at most, `patternBuf[MAX_PATH + 1]` so increase the buffer size slightly to make it happy.

Reviewed By: yfeldblum

Differential Revision: D3571923

fbshipit-source-id: c027e2b253dc3e56d13e9a15a0e960a6aa3a0e6c
folly/portability/Dirent.cpp