diff options
| author | Bastien Roucariès <rouca@debian.org> | 2024-05-06 19:17:23 +0000 |
|---|---|---|
| committer | Bastien Roucariès <rouca@debian.org> | 2024-05-06 19:17:23 +0000 |
| commit | 0d1d760b90dfe26145b7c4e4cd0de55117bcdbbb (patch) | |
| tree | a66ff512cd9be70de19d8983a2a04b9a1d03da6b /errlog.c | |
| parent | ee3097c3f96727fdb41e36d93b6c957d281da97e (diff) | |
| parent | a075e58606b9affb6dfb176c71caab816737a981 (diff) | |
| download | efi-boot-shim-0d1d760b90dfe26145b7c4e4cd0de55117bcdbbb.tar.gz efi-boot-shim-0d1d760b90dfe26145b7c4e4cd0de55117bcdbbb.zip | |
Merge tag 'upstream/15.8' into buster/updates
Upstream version 15.8
Diffstat (limited to 'errlog.c')
| -rw-r--r-- | errlog.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -32,6 +32,9 @@ VLogError(const char *file, int line, const char *func, const CHAR16 *fmt, ms_va_list args2; CHAR16 **newerrs; + if (file == NULL || func == NULL || fmt == NULL) + return EFI_INVALID_PARAMETER; + newerrs = ReallocatePool(errs, (nerrs + 1) * sizeof(*errs), (nerrs + 3) * sizeof(*errs)); if (!newerrs) |
