GPTMINHDRSIZE
if (gh.gh_size != GPTMINHDRSIZE) {
GPTMINHDRSIZE, gh.gh_size);
gh.gh_size = GPTMINHDRSIZE;
memset(&legh, 0, GPTMINHDRSIZE);
legh.gh_size = htole32(GPTMINHDRSIZE);
if (ghsize < GPTMINHDRSIZE || ghsize > sizeof(struct gpt_header)) {
if (ghsize < GPTMINHDRSIZE || ghsize > sizeof(struct gpt_header)) {
if (ghsize < GPTMINHDRSIZE || ghsize > sizeof(struct gpt_header)) {
if (ghsize < GPTMINHDRSIZE || ghsize > sizeof(struct gpt_header)) {
if (ghsize < GPTMINHDRSIZE || ghsize > sizeof(struct gpt_header)) {
if (ghsize < GPTMINHDRSIZE || ghsize > sizeof(struct gpt_header)) {
if (ghsize < GPTMINHDRSIZE || ghsize > sizeof(struct gpt_header)) {
ngh.gh_csum = htole32(crc32(0, (unsigned char *)&ngh, GPTMINHDRSIZE));
size == GPTMINHDRSIZE && lbastart <= lbaend &&
if (ghsize < GPTMINHDRSIZE || ghsize > sizeof(struct gpt_header))
if (ghsize < GPTMINHDRSIZE || ghsize > sizeof(struct gpt_header))