diff options
author | John Baldwin <jhb@FreeBSD.org> | 2010-09-30 14:28:48 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2010-09-30 14:28:48 +0000 |
commit | 6d6bc99ad2238833152377b226695670bed4727a (patch) | |
tree | 8424cb71328d819abe9dff490c5772fa08ee96d6 /sbin/spppcontrol | |
parent | 72da54703735a4e4511974691ff8f30b1fc910fb (diff) | |
download | src-6d6bc99ad2238833152377b226695670bed4727a.tar.gz src-6d6bc99ad2238833152377b226695670bed4727a.zip |
If an RCS file is truncated, rcsfile_getdelta() will return NULL. Instead
of faulting, check for NULL. However, returning an error would cause csup
to just abort the entire update. Instead, break out of the loop and
return ok. The attempts to update the file will trigger a MD5 failure which
will cause csup to download the entire file as a fixup.
Reviewed by: lulf
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=213300
Diffstat (limited to 'sbin/spppcontrol')
0 files changed, 0 insertions, 0 deletions