Permalink
Browse files

adplug: Fix off-by-one error.

  • Loading branch information...
1 parent 79eecd2 commit eb7e35d858889f768173ff98b7fab4764fed3572 @jlindgren90 jlindgren90 committed Dec 2, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/adplug/core/rol.cc
@@ -96,7 +96,7 @@ bool CrolPlayer::load(const std::string &filename, const CFileProvider &fp)
{
binistream *f = fp.open(filename); if(!f) return false;
- char *fn = new char[filename.length()+12];
+ char *fn = new char[filename.length()+13];
int i;
std::string bnk_filename;

1 comment on commit eb7e35d

@Malvineous

Merged upstream in adplug/adplug@c957615

Please sign in to comment.