diff options
author | Benjamin Barenblat <benjamin@barenblat.name> | 2011-07-26 19:37:05 -0400 |
---|---|---|
committer | Benjamin Barenblat <benjamin@barenblat.name> | 2011-07-26 19:44:04 -0400 |
commit | d600ff1f154a9dff61badd86127d0c7ab5dd9a8a (patch) | |
tree | 43fea5697b65fa6ea4d8a2b0e9771f532c6284c1 /src/browser.h | |
parent | 90d2930aacda57538f1e9e05acc18e8e80481de3 (diff) |
flac_tag: fix segfault when setting picture description to ""
Flac_Tag_Write_File_Tag now checks to make sure the picture
description string is non-null before attempting to set it. (Passing
a null pointer to FLAC__metadata_object_picture_set_description
violates that function's contract; see
http://flac.sourceforge.net/api/group__flac__metadata__object.html#ga43).
This brings Flac_Tag_Write_File_Tag's behavior in line with that of
the analogous functions for Ogg and ID3 tags.
Diffstat (limited to 'src/browser.h')
0 files changed, 0 insertions, 0 deletions