summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Ecc/EccToolError.py
diff options
context:
space:
mode:
authorSanthosh Kumar V <santhoshkumarv@ami.com>2025-01-27 18:32:51 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-01-28 23:38:38 +0300
commitdf84bb5edad83dab99a267dc9f767a57f6caba5e (patch)
treea44ff0a33416d44bf7607804e0e645828c09bcd9 /BaseTools/Source/Python/Ecc/EccToolError.py
parent428cd8a46fb3bd8468183e2ac30bbbee2c25689b (diff)
downloadedk2-df84bb5edad83dab99a267dc9f767a57f6caba5e.tar.xz
Resolved Coverity Issues in Http Dxe
1.HttpResponseWorker(DEADCODE) The result of pointer arithmetic "HttpHeaders+AsciiStrLen("HTTP/1.1") + 1" is never null. 2.HttpsSupport.c (NULL_RETURNS) NetbufAlloc might return null pointer ,so assigning "NULL" to "PacketOut" and "DataOut" pointer. Solution: 1.Removed the NULL Check for "StatusCodeStr" 2.Added Null Check for PacketOut and returned EFI_OUT_OF_RESOURCES on NULL case. Signed-off-by: santhosh kumar V <santhoshkumarv@ami.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/EccToolError.py')
0 files changed, 0 insertions, 0 deletions