summaryrefslogtreecommitdiff
path: root/python/firstheader.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-08-30 08:54:33 -0400
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-08-31 01:22:14 +0000
commitd6ca9fcf224261f96155855bc35eebc13af65402 (patch)
treec7281ed223ecc421a341062d3d912eb8a2696f5b /python/firstheader.py
parentd28c904206c0c1587caa215c903613755c3764e9 (diff)
pimd: When receiving a packet be more careful with length in pim_pim_packet
a) If the length passed is the header length then it is possible that assignment of data will happen without data actually existing. b) Just move the assignment to after we ensure that the pim packet received is the minimum possible length that can be received. Signed-off-by: Donald Sharp <sharpd@nvidia.com> (cherry picked from commit 3163c64d2893b5411d299952ff16dfc05e2c7a86)
Diffstat (limited to 'python/firstheader.py')
0 files changed, 0 insertions, 0 deletions