Re: [PATCH 3/4] ceph: bound num_export_targets array for mds info v2/v3

From: Michael Bommarito

Date: Thu Jun 04 2026 - 16:26:54 EST


> We extract the num_export_targets from the message. What if the
> num_export_targets is huge enough? I assume we could potentially have
> overflow during the multiplication. What do you think?

Good catch, we definitely need a v2 to address that with size_mul

Thanks,
Mike