diff options
| author | Santhosh Kumar V <santhoshkumarv@ami.com> | 2025-01-27 18:32:51 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-01-28 23:38:38 +0300 |
| commit | df84bb5edad83dab99a267dc9f767a57f6caba5e (patch) | |
| tree | a44ff0a33416d44bf7607804e0e645828c09bcd9 /BaseTools/Source/Python/Ecc/EccToolError.py | |
| parent | 428cd8a46fb3bd8468183e2ac30bbbee2c25689b (diff) | |
| download | edk2-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
