[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r4217 - Extractor/src/plugins
From: |
cyberix |
Subject: |
[GNUnet-SVN] r4217 - Extractor/src/plugins |
Date: |
Sat, 6 Jan 2007 04:19:06 -0800 (PST) |
Author: cyberix
Date: 2007-01-06 04:19:02 -0800 (Sat, 06 Jan 2007)
New Revision: 4217
Modified:
Extractor/src/plugins/nsfextractor.c
Log:
Minor safety modification.
Modified: Extractor/src/plugins/nsfextractor.c
===================================================================
--- Extractor/src/plugins/nsfextractor.c 2007-01-06 12:15:39 UTC (rev
4216)
+++ Extractor/src/plugins/nsfextractor.c 2007-01-06 12:19:02 UTC (rev
4217)
@@ -144,14 +144,14 @@
/* name, artist, copyright fields */
+ memcpy( &album, head->title, 32 );
+ memcpy( &artist, head->artist, 32 );
+ memcpy( ©right, head->copyright, 32 );
+
album[ 32 ] = '\0';
artist[ 32 ] = '\0';
copyright[ 32 ] = '\0';
- memcpy( &album, head->title, 32 );
- memcpy( &artist, head->artist, 32 );
- memcpy( ©right, head->copyright, 32 );
-
prev = addkword( prev, album, EXTRACTOR_ALBUM );
prev = addkword( prev, artist, EXTRACTOR_ARTIST );
prev = addkword( prev, copyright, EXTRACTOR_COPYRIGHT );
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r4217 - Extractor/src/plugins,
cyberix <=