Fix a buffer overrun that can occur when parsing '%c' at the end of a
filename pattern string.
rdar://74571261
Differential D97239
[profile] Fix buffer overrun when parsing %c in filename string vsk on Feb 22 2021, 4:39 PM. Authored by
Details Fix a buffer overrun that can occur when parsing '%c' at the end of a rdar://74571261
Diff Detail
Event Timeline
Comment Actions Address review feedback. I opted to add the checkBounds helper, as this seemed like the least invasive option. The convention in the rest of this library appears to be to not use stdbool.h, so I decided not to pull it in here.
|
oh shouldn't these be Idx < Strlen?