# HG changeset patch # User anders # Date 1015160006 0 # Node ID 619a8032fdd2d61d7700914498f961ed3c992fdb # Parent a8ca1b9c586f7b822195decd7e6f75e91a8982ce Buggfix for buffer overflow calculation in plugins diff -r a8ca1b9c586f -r 619a8032fdd2 libao2/ao_plugin.c --- a/libao2/ao_plugin.c Sun Mar 03 11:44:53 2002 +0000 +++ b/libao2/ao_plugin.c Sun Mar 03 12:53:26 2002 +0000 @@ -224,7 +224,7 @@ static int play(void* data,int len,int flags){ int l,i=0; // Limit length to avoid over flow in plugins - int tmp = driver()->get_space(); + int tmp = get_space(); int ret_len =(tmp