aboutsummaryrefslogtreecommitdiffstats
path: root/cat
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2016-12-06 00:35:20 +0000
committerMartin Matuska <mm@FreeBSD.org>2016-12-06 00:35:20 +0000
commit36f3c6516a97ac526e7eb80728aa2af5b0d1f1df (patch)
tree978073472ac3f1d7e677247714828707eb839bcb /cat
parent640b179f4e7e86a0b71cd44a4423eabf356cde4c (diff)
downloadsrc-36f3c6516a97ac526e7eb80728aa2af5b0d1f1df.tar.gz
src-36f3c6516a97ac526e7eb80728aa2af5b0d1f1df.zip
Update vendor/libarchive to git ddb3954bfdb9a0a98d50fb1c50cbecb603d9adf0
Vendor bugfixes: libarchive #831: Spelling fixes libarchive #832: Relax sanity checks of number fields in tar header even more OSS-Fuzz #16: Fix possible hang in uudecode_filter_read() OSS-Fuzz #220: Reject an 'ar' filename table larger than 1GB or a filename larger than 1MB.
Notes
Notes: svn path=/vendor/libarchive/dist/; revision=309587
Diffstat (limited to 'cat')
-rw-r--r--cat/test/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cat/test/main.c b/cat/test/main.c
index a57984294fe4..cdfdd9bd6d75 100644
--- a/cat/test/main.c
+++ b/cat/test/main.c
@@ -520,7 +520,7 @@ _utf8_to_unicode(uint32_t *pwc, const char *s, size_t n)
return (0); /* Standard: return 0 for end-of-string. */
cnt = utf8_count[ch];
- /* Invalide sequence or there are not plenty bytes. */
+ /* Invalid sequence or there are not plenty bytes. */
if (n < (size_t)cnt)
return (-1);
@@ -559,7 +559,7 @@ _utf8_to_unicode(uint32_t *pwc, const char *s, size_t n)
return (-1);
}
- /* The code point larger than 0x10FFFF is not leagal
+ /* The code point larger than 0x10FFFF is not legal
* Unicode values. */
if (wc > 0x10FFFF)
return (-1);