|
|
Choosing A Webhost: |
[mb-commits] r7935 - libtunepimp/branches/0.4.x/lib: msg#00159audio.musicbrainz.cvs
Author: luks Date: 2006-06-25 18:15:58 +0000 (Sun, 25 Jun 2006) New Revision: 7935 Modified: libtunepimp/branches/0.4.x/lib/lookuptools.cpp Log: Corrected sizes of temporary buffers. Patch by urs_fleisch at yahoo dot de. (closes #1563) Modified: libtunepimp/branches/0.4.x/lib/lookuptools.cpp =================================================================== --- libtunepimp/branches/0.4.x/lib/lookuptools.cpp 2006-06-25 12:56:31 UTC (rev 7934) +++ libtunepimp/branches/0.4.x/lib/lookuptools.cpp 2006-06-25 18:15:58 UTC (rev 7935) @@ -51,7 +51,7 @@ musicbrainz_t o; char *args[7]; int ret, trackNum; - char error[255], data[255], trackURI[256], + char error[256], data[256], trackURI[256], artistURI[256], albumURI[256]; char temp[100], duration[100], status[100]; @@ -159,6 +159,7 @@ // Select the first release date if (mb_Select1(o, MBS_SelectReleaseDate, j)) { + char temp[256]; // Pull back the release date and release country if (mb_GetResultData(o, MBE_ReleaseGetDate, temp, 256)) { @@ -211,7 +212,7 @@ musicbrainz_t o; char *args[3]; int ret; - char error[255], data[255]; + char error[256], data[256]; // ----------------------------------------------------------------------------------------- // NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE @@ -299,7 +300,7 @@ { musicbrainz_t o; int ret; - char error[255]; + char error[256]; if (user.empty() || passwd.empty()) {
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [mb-commits] r7934 - picard/branches/UITweaks1/picard/ui, root |
|---|---|
| Next by Date: | [mb-commits] r7936 - in libmusicbrainz/branches/xmlws: . include/musicbrainz3 src, root |
| Previous by Thread: | [mb-commits] r7934 - picard/branches/UITweaks1/picard/ui, root |
| Next by Thread: | [mb-commits] r7936 - in libmusicbrainz/branches/xmlws: . include/musicbrainz3 src, root |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |