Re: [PATCH] pipeline: fix emit instruction for invalid headers

2022-06-01 Thread Thomas Monjalon
27/04/2022 23:56, Cristian Dumitrescu: > Fix the emit instruction for the pathological case of all headers to > be emitted being invalid. In this case, the for loop was essentially > skipped and the last emitted header (or an invalid memory location) > getting corrupted by setting its size to 0 thr

[PATCH] pipeline: fix emit instruction for invalid headers

2022-04-27 Thread Cristian Dumitrescu
Fix the emit instruction for the pathological case of all headers to be emitted being invalid. In this case, the for loop was essentially skipped and the last emitted header (or an invalid memory location) getting corrupted by setting its size to 0 through the assignment to ho->n_bytes right after