mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
(handle_file): Swap p_type.
This commit is contained in:
@ -78,7 +78,7 @@ AB(handle_file) (const char *fname, int fd)
|
||||
/* Search for the PT_DYNAMIC entry. */
|
||||
size_t cnt;
|
||||
for (cnt = 0; cnt < phnum; ++cnt)
|
||||
if (phdr[cnt].p_type == PT_DYNAMIC)
|
||||
if (SWAP (phdr[cnt].p_type) == PT_DYNAMIC)
|
||||
break;
|
||||
|
||||
if (cnt == phnum)
|
||||
|
Reference in New Issue
Block a user