Re: svn commit: r1704374 - in /subversion/trunk/subversion: include/svn_diff.h include/svn_error_codes.h libsvn_diff/binary_diff.c libsvn_diff/diff.h libsvn_diff/parse-diff.c tests/cmdline/patch_tests.py
From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 22 Sep 2015 10:40:01 +0200
On Mon, Sep 21, 2015 at 05:27:18PM -0000, rhuijben_at_apache.org wrote:
> + while (base85_len)
Please use an explicit integer type.
> + apr_ssize_t i, n;
What happens if 'info' overflows here?
> + info += value;
> + while (remaining && (b85b->buf_size > b85b->buf_pos
What if 'remaining' becomes negative here?
> + b85b->buf_pos += n;
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.