summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Workspace/BuildClassObject.py
diff options
context:
space:
mode:
authorNickle Wang <nickle.wang@hpe.com>2021-07-05 05:41:07 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-07-07 10:04:47 +0300
commitd10e05801686e3169f8b8f532fa3087411884bc5 (patch)
tree02139a122a0d010047ec1ef7ee8aa11b9e278cc2 /BaseTools/Source/Python/Workspace/BuildClassObject.py
parent0a6b303dcedb7af238ad485d545802befb797b3a (diff)
downloadedk2-d10e05801686e3169f8b8f532fa3087411884bc5.tar.xz
MdeModulePkg/RegularExpressionDxe: Fix memory assert in FreePool()
Memory buffer that is allocated by malloc() and realloc() will be shifted by 8 bytes because Oniguruma keeps its memory signature. This 8 bytes shift is not handled while calling free() to release memory. Add free() function to check Oniguruma signature before release memory because memory buffer is not touched when using calloc(). Signed-off-by: Nickle Wang <nickle.wang@hpe.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/BuildClassObject.py')
0 files changed, 0 insertions, 0 deletions