Re: [PATCH 12/21] Use prefixcmp() instead of memcmp() for cleaner code with less magic numbers
On Saturday 09 June 2007, Alex Riesen wrote:
Show 13 quoted lines
> On 6/9/07, Johan Herland <johan@herland.net> wrote:
> > +/*
> > + * Perform parsing and verification of tag object data.
> > + *
> > + * The 'item' parameter may be set to NULL if only verification is desired.
> > + *
> > + * The given data _must_ be null-terminated.
> > + */
> > int parse_and_verify_tag_buffer(struct tag *item,
> > const char *data, const unsigned long size, int thorough_verify)
>
> This hunk really belongs into commit which introduced the function
> parse_and_verify_tag_buffer.
Yes. I'm sorry it slipped out of that patch and into this one.
...Johan
--
Johan Herland, <johan@herland.net>
www.herland.net