[Devel] Re: [PATCH 2/2] File name length limit off by sizeof(struct ckpt_hdr)
Matt Helsley
matthltc at us.ibm.com
Fri Oct 23 19:02:12 PDT 2009
On Fri, Oct 23, 2009 at 08:29:13PM -0400, Oren Laadan wrote:
>
>
> Matt Helsley wrote:
> > Unlike the length passed into ckpt_write_obj_type, the maximum length passed
> > to ckpt_read_buf_type must include the length of the struct ckpt_hdr.
>
> IMHO, the right way to fix this is to change ckpt_read_obj_type().
Good point.
> This will preserve symmetry between checkpoint and restart, and also
> fix a similar problem in kernel/groups.c (MAX_GROUPINFO_SIZE).
>
> No need to resend - I'll fix already.
Good, thanks!
Cheers,
-Matt Helsley
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list