]> granicus.if.org Git - taglib/commit
Make sure that buffer allocations for file reads aren't completely bogus.
authorScott Wheeler <wheeler@kde.org>
Sat, 23 Jul 2005 23:49:29 +0000 (23:49 +0000)
committerScott Wheeler <wheeler@kde.org>
Sat, 23 Jul 2005 23:49:29 +0000 (23:49 +0000)
commit111b0dc6eb5f3804f4f814cd3d9a5476b52d8367
tree70e29ce8754e405fb768f2b939d117e59c87adb3
parent59fd61099955aa44a3e1c5451e9b028f1d0ba2d6
Make sure that buffer allocations for file reads aren't completely bogus.
Specifically make sure that we don't actually allocate a buffer for a read that
extends beyond the end of the file.

BUG:101401

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@438035 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
toolkit/tfile.cpp