Differences From Artifact [5865d323f0]:
- File
src/OFTarArchive.m
— part of check-in
[e47c219327]
at
2017-10-01 14:05:29
on branch trunk
— Disable -Wnullable-to-nonnull-conversion again
It does not work well enough yet: While creating a lot of noise, it
fails to even find many of the obvious cases. Depending on the static
analyzer seems to be the better approach for now. (user: js, size: 9349) [annotate] [blame] [check-ins using]
To Artifact [4f6abee812]:
- File src/OFTarArchive.m — part of check-in [6b6856298d] at 2017-10-01 18:09:11 on branch trunk — OFTarArchive: Support for star numbers (user: js, size: 9358) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
155 156 157 158 159 160 161 |
[super dealloc];
}
- (OFTarArchiveEntry *)nextEntry
{
OFTarArchiveEntry *entry;
union {
| | | 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 |
[super dealloc];
}
- (OFTarArchiveEntry *)nextEntry
{
OFTarArchiveEntry *entry;
union {
unsigned char c[512];
uint32_t u32[512 / sizeof(uint32_t)];
} buffer;
bool empty = true;
if (_mode != OF_TAR_ARCHIVE_MODE_READ)
@throw [OFInvalidArgumentException exception];
|
| ︙ | ︙ |