Changeset 108794 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/NetworkPkg/HttpDxe/HttpImpl.c
- Timestamp:
- Mar 31, 2025 11:31:09 AM (2 weeks ago)
- svn:sync-xref-src-repo-rev:
- 168237
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776,129194-164365 /vendor/edk2/current 103735-103757,103769-103776,129194-168232
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/NetworkPkg/HttpDxe/HttpImpl.c
r105670 r108794 2 2 Implementation of EFI_HTTP_PROTOCOL protocol interfaces. 3 3 4 Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.<BR>4 Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> 5 5 (C) Copyright 2015-2016 Hewlett Packard Enterprise Development LP<BR> 6 6 Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved.<BR> … … 342 342 Url = HttpInstance->Url; 343 343 UrlLen = StrLen (Request->Url) + 1; 344 if (UrlLen > H TTP_URL_BUFFER_LEN) {344 if (UrlLen > HttpInstance->UrlLen) { 345 345 Url = AllocateZeroPool (UrlLen); 346 346 if (Url == NULL) { … … 348 348 } 349 349 350 FreePool (HttpInstance->Url); 351 HttpInstance->Url = Url; 350 if (HttpInstance->Url != NULL) { 351 FreePool (HttpInstance->Url); 352 } 353 354 HttpInstance->Url = Url; 355 HttpInstance->UrlLen = UrlLen; 352 356 } 353 357 … … 1105 1109 // 1106 1110 StatusCodeStr = HttpHeaders + AsciiStrLen (HTTP_VERSION_STR) + 1; 1107 if (StatusCodeStr == NULL) {1108 Status = EFI_NOT_READY;1109 goto Error;1110 }1111 1111 1112 1112 StatusCode = AsciiStrDecimalToUintn (StatusCodeStr);
Note:
See TracChangeset
for help on using the changeset viewer.