News for hackers. Stuff that matters.
Re:Microsoft_craziness.h (2018) by seritools on Wednesday November 24, 2021 @01:09PM (#29333088)
1. first call to `RegQueryValueExW` returns a value length of 10

2. length is set to 12

3. external change causes the value to now be 12

4. second call to ``RegQueryValueExW` succeeds, as 12 <= 12, no ERROR_MORE_DATA here; length stays 12

5. length + 1 and length + 2 are now OOB

There are no comments on this comment yet.