]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/RegularExpressionDxe: Add null pointer check
authorDongao Guo <dongao.guo@intel.com>
Thu, 11 Oct 2018 06:57:03 +0000 (14:57 +0800)
committerLiming Gao <liming.gao@intel.com>
Mon, 15 Oct 2018 07:55:53 +0000 (15:55 +0800)
commit3948c510edad901bb9f8d23f7bf0f4ae91b5fcde
tree341333a2ae3e891d5e615a1c14e0c568d522b9e4
parentdf8be9e50fc72eee07bace7674ac18e9804f3a5f
MdeModulePkg/RegularExpressionDxe: Add null pointer check

There are five check not necessary in logic ,just for pass static
analysis. More detail please refer to comment in code.
And the rest changes are all accepted by owner, they are reasonable.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dongao Guo <dongao.guo@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/regcomp.c
MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/regexec.c