diff options
author | Tom Rini <trini@konsulko.com> | 2024-05-03 16:18:51 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-05-03 16:18:51 -0600 |
commit | 2f1e76bcfee75b9f99ade63002c05ffaaec86afb (patch) | |
tree | bc6c0d474b9247257218c30cbad03967a33b5817 /net | |
parent | c92d48f8b2909d08584f17612a23d959467f14b8 (diff) | |
parent | 3c15780f2d2689b7e892f203393d89d7aef8ac38 (diff) |
Merge branch '2024-05-02-assorted-updates'
- Typo fixes, gpt command fix, a few npcm fixes, fix a reported Coverity
issue and increase the malloc pool on am62x_evm_r5 to fix some use
cases.
Diffstat (limited to 'net')
-rw-r--r-- | net/bootp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bootp.c b/net/bootp.c index c15472f5d37..86c56803c76 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -886,7 +886,7 @@ static void dhcp_process_options(uchar *popt, uchar *end) case 40: /* NIS Domain name */ if (net_nis_domain[0] == 0) { size = truncate_sz("NIS Domain Name", - sizeof(net_nis_domain), size); + sizeof(net_nis_domain), oplen); memcpy(&net_nis_domain, popt + 2, size); net_nis_domain[size] = 0; } |