rocksdb/port/win
shpala 9c7da963bc Fix a crash in WinEnvIO::GetSectorSize (#3975)
Summary:
Fix a crash in `WinEnvIO::GetSectorSize` that happens on old Windows systems (e.g Windows 7).
On old Windows systems that don't support querying StorageAccessAlignmentProperty using IOCTL_STORAGE_QUERY_PROPERTY, the flow calls a different DeviceIoControl with nullptr as lpBytesReturned.
When the code reaches this point, we get an access violation.
Closes https://github.com/facebook/rocksdb/pull/3975

Differential Revision: D8385186

Pulled By: ajkr

fbshipit-source-id: fae4c9b4b0a52c8a10182e1b35bcaa30dc393bbb
2018-06-12 13:45:18 -07:00
..
env_default.cc run make format for PR 3838 (#3954) 2018-06-05 12:58:02 -07:00
env_win.cc Fix a crash in WinEnvIO::GetSectorSize (#3975) 2018-06-12 13:45:18 -07:00
env_win.h Catchup with posix features 2018-05-24 15:13:04 -07:00
io_win.cc Catchup with posix features 2018-05-24 15:13:04 -07:00
io_win.h Catchup with posix features 2018-05-24 15:13:04 -07:00
port_win.cc Windows cumulative patch 2018-03-06 11:57:43 -08:00
port_win.h Explictly fail writes if key or value is not smaller than 4GB 2018-02-09 14:57:54 -08:00
win_jemalloc.cc run make format for PR 3838 (#3954) 2018-06-05 12:58:02 -07:00
win_logger.cc Windows cumulative patch 2018-03-06 11:57:43 -08:00
win_logger.h Windows cumulative patch 2018-03-06 11:57:43 -08:00
win_thread.cc CloseHandle docs says that the return is non-zero, does not say TRUE(1) 2018-03-20 18:43:02 -07:00
win_thread.h Fix a race condition in WindowsThread (port::Thread) 2017-12-07 13:42:53 -08:00
xpress_win.cc Enable cacheline_aligned_alloc() to allocate from jemalloc if enabled. 2017-10-27 13:27:12 -07:00
xpress_win.h