We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dtc/fdtdump.c
Line 166 in ecfb438
static bool valid_header(char *p, size_t len) { if (len < sizeof(struct fdt_header) || fdt_magic(p) != FDT_MAGIC || fdt_version(p) > MAX_VERSION || fdt_last_comp_version(p) > MAX_VERSION || fdt_totalsize(p) > len || fdt_off_dt_struct(p) >= len || fdt_off_dt_strings(p) >= len) return 0; else return 1; }
The text was updated successfully, but these errors were encountered:
i look some code like this https://github.com/torvalds/linux/blob/5bfc75d92efd494db37f5c4c173d3639d4772966/scripts/dtc/flattree.c#L876
Sorry, something went wrong.
@juiceRv sorry, I don't understand what change you're suggesting. The code you quote appears to be identical to what's in dtc now.
No response to query, so closing.
Successfully merging a pull request may close this issue.
dtc/fdtdump.c
Line 166 in ecfb438
This function should be modified like this?
The text was updated successfully, but these errors were encountered: