diff options
author | Peter Wemm <peter@FreeBSD.org> | 2018-05-08 03:44:38 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2018-05-08 03:44:38 +0000 |
commit | 3faf8d6bffc5d0fb2525ba37bb504c53366caf9d (patch) | |
tree | 7e47911263e75034b767fe34b2f8d3d17e91f66d /subversion/libsvn_subr/skel.c | |
parent | a55fb3c0d5eca7d887798125d5b95942b1f01d4b (diff) |
Diffstat (limited to 'subversion/libsvn_subr/skel.c')
-rw-r--r-- | subversion/libsvn_subr/skel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subversion/libsvn_subr/skel.c b/subversion/libsvn_subr/skel.c index ed12db094ad02..567440a0504b3 100644 --- a/subversion/libsvn_subr/skel.c +++ b/subversion/libsvn_subr/skel.c @@ -380,7 +380,7 @@ explicit_atom(const char *data, data++; /* Check the length. */ - if (data + size > end) + if (end - data < size) return NULL; /* Allocate the skel representing this string. */ |