--- Josh Haberman <[EMAIL PROTECTED]> wrote: > It would be nice if there was an accessor function that would give > you > the length of an application block's data. As it stands, there's no > way > for an application to ensure that it doesn't read past the end of the > data buffer, causing it to either segfault or get bad data.
The data length is inferred from the block length, i.e. the size of object->data.application.data is object->length - 4 (4 is the size of the application id). Josh __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ------------------------------------------------------- This SF.NET email is sponsored by: A Thawte Code Signing Certificate is essential in establishing user confidence by providing assurance of authenticity and code integrity. Download our Free Code Signing guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en _______________________________________________ Flac-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/flac-dev
