Possible Bug in tbytevector

Rich Collins richcollins at gmail.com
Fri Nov 9 01:21:07 CET 2007


Ah this was in the windows port.  Sorry for the noise.

On Nov 8, 2007, at 2:41 PM, Michael Pyne wrote:

> On Thursday 08 November 2007, Rich Collins wrote:
>> I ran into a bug copying the tags from an mp3 to an ogg when the
>> comment tag was empty.
>>
>> void ByteVector::setData(const char *data, uint length)
>> {
>>    detach();
>>
>>    resize(length);
>>
>>    ::memcpy(DATA(d), data, length);
>>
>> }
>>
>> data was an empty string and length was 0.
>>
>> DATA(d) is expanded to &(d->data[0]), but d->data is empty
>
> That was fixed about a month ago, at revision 717984
> (http://bugs.kde.org/show_bug.cgi?id=150250).
>
> Regards,
>  - Michael Pyne
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel



More information about the taglib-devel mailing list