diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2009-08-27 14:16:07 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2009-08-27 14:16:07 +0200 |
commit | fe58cbc86638e214fa137166a704fbff798c546a (patch) | |
tree | fcd445921d800462a2dab16db2951024440d4956 /apt-inst | |
parent | f30eb61fde728f125bf7c673cadc17f43d82a2d0 (diff) | |
parent | 8c75bf9e9558d062a5f3d1fe5276aeffba6403a0 (diff) |
merged from lp:~donkult/apt/sid
Diffstat (limited to 'apt-inst')
-rw-r--r-- | apt-inst/contrib/arfile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-inst/contrib/arfile.cc b/apt-inst/contrib/arfile.cc index 7c85f2e86..e6c63d1ab 100644 --- a/apt-inst/contrib/arfile.cc +++ b/apt-inst/contrib/arfile.cc @@ -96,7 +96,7 @@ bool ARArchive::LoadHeaders() char S[300]; unsigned long Len; if (StrToNum(Head.Name+3,Len,sizeof(Head.Size)-3) == false || - Len >= strlen(S)) + Len >= sizeof(S)) { delete Memb; return _error->Error(_("Invalid archive member header")); |