-
Recent Posts
Archives
- November 2025
- September 2025
- January 2025
- August 2024
- June 2023
- May 2023
- April 2023
- January 2023
- July 2021
- September 2020
- August 2020
- August 2019
- April 2019
- February 2019
- April 2018
- February 2018
- September 2017
- May 2017
- January 2017
- May 2016
- November 2015
- June 2015
- April 2015
- March 2015
- June 2014
- May 2014
- April 2014
- February 2014
- November 2013
- September 2013
Categories
Meta
Monthly Archives: February 2019
Tracking Down a FILE_OBJECT leak
I recently looked at an an issue where a kernel component was leaking FILE_OBJECTs. The handle count on the objects was zero but they all had outstanding references keeping them open. Note: This is not new territory but I had … Continue reading
64-bit HANDLEs can be truncated to 32-bits
I came across this bit of code thanks to a compiler warning (obviously, error checking has been removed): HANDLE handle = CreateFileW(…) INT lzHandle = LzInit((INT) handle); On 64-bit Windows, this results in a truncation of ‘handle’, but it turns … Continue reading
Posted in SDL, Windows
Leave a comment