diff options
| author | Steve McIntyre <steve@einval.com> | 2021-03-31 18:24:30 +0100 |
|---|---|---|
| committer | Steve McIntyre <steve@einval.com> | 2021-03-31 18:24:30 +0100 |
| commit | ec10b2569d63726b826c9afc6f14ff68e6f18d88 (patch) | |
| tree | 2feb505d3c4358a93987062463937124d3d65464 /csv.c | |
| parent | b43a60b29267c5278652a87629434ad4f45c7493 (diff) | |
| parent | 8119f7183f5f0bebb168fec5239855552020cf66 (diff) | |
| download | efi-boot-shim-ec10b2569d63726b826c9afc6f14ff68e6f18d88.tar.gz efi-boot-shim-ec10b2569d63726b826c9afc6f14ff68e6f18d88.zip | |
Update upstream source from tag 'upstream/15.4'
Update to upstream version '15.4'
with Debian dir 93160080661283eee071d2c92a27ce9b39acb998
Diffstat (limited to 'csv.c')
| -rw-r--r-- | csv.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -55,8 +55,11 @@ parse_csv_data(char *data, char *data_end, size_t n_columns, list_t *list) size_t max = 0; char *end = data_end; - if (!data || !end || end <= data || !n_columns || !list) + if (!data || !end || end <= data || !n_columns || !list) { + dprint(L"data:0x%lx end:0x%lx n_columns:%lu list:0x%lx\n", + data, end, n_columns, list); return EFI_INVALID_PARAMETER; + } max = (uintptr_t)end - (uintptr_t)line + (end > line ? 1 : 0); |
