summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2007-09-15 22:45:08 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2007-09-15 22:45:08 +0000
commite461f2ec1864e51799f6d363aedaa4634f28cfd9 (patch)
tree1f473b4d43ad04aa9c1575e2c019e51d68ac9a8a /apps
parent2da04fdae9dc863f5f82ae57825685bc88716a58 (diff)
downloadrockbox-e461f2ec1864e51799f6d363aedaa4634f28cfd9.tar.gz
rockbox-e461f2ec1864e51799f6d363aedaa4634f28cfd9.zip
Fixed an out of buffer boundaries lookup when database has been loaded in ram.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14720 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/tagcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index b1811061b2..0bd6a9f557 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -1518,7 +1518,7 @@ static struct tagfile_entry *get_tag(const struct index_entry *entry, int tag)
static long get_tag_numeric(const struct index_entry *entry, int tag)
{
- return entry->tag_seek[tag];
+ return check_virtual_tags(tag, entry);
}
static char* get_tag_string(const struct index_entry *entry, int tag)