Package: libapache2-mod-musicindex
Version: 1.3.5-1
If there are less MusicFields configured than the default (5), the default
fields will seep through.
This probably also occurs with the sort order, because the same function is
used.
Example:
default: title artist album length bitrate
configured: title artist length
what's shown on pages: title artist length length bitrate
The bug is that sort_or_fields() does not terminate its list. Here is a patch
to fix it:
diff -Naur mod_musicindex-snapshot/src/config.c
mod_musicindex-snapshot-fixed/src/config.c
--- mod_musicindex-snapshot/src/config.c 2009-12-04 13:55:29.000000000
+0000
+++ mod_musicindex-snapshot-fixed/src/config.c 2011-09-01 10:20:16.000000000
+0100
@@ -266,6 +266,7 @@
}
}
}
+ list[i] = 0;
return i;
}
Regards
Stuart