Lines 228-234
Link Here
|
228 |
|
228 |
|
229 |
FoundFileDeps |= List.HasFileDeps(); |
229 |
FoundFileDeps |= List.HasFileDeps(); |
230 |
|
230 |
|
231 |
if (Cache.HeaderP->PackageCount >= (1ULL<<sizeof(Cache.PkgP->ID)*8)-1) |
231 |
if (Cache.HeaderP->PackageCount >= UINT_MAX) |
232 |
return _error->Error(_("Wow, you exceeded the number of package " |
232 |
return _error->Error(_("Wow, you exceeded the number of package " |
233 |
"names this APT is capable of.")); |
233 |
"names this APT is capable of.")); |
234 |
if (Cache.HeaderP->VersionCount >= (1ULL<<(sizeof(Cache.VerP->ID)*8))-1) |
234 |
if (Cache.HeaderP->VersionCount >= (1ULL<<(sizeof(Cache.VerP->ID)*8))-1) |