[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] [BUG] vu_file_to_string broken with files > 8k or short
From: |
Johannes Berg |
Subject: |
[Gnu-arch-users] [BUG] vu_file_to_string broken with files > 8k or short reads |
Date: |
Thu, 15 Apr 2004 05:51:36 +0200 |
I was *so* sure I had reported this before, but can't find a reference
any more, not even in the group archive. And I had thought it was
already applied. Apparently not. So here it is again as a real
bugreport. Apologies if it was there before.
The patch should be self-explaining:
--- orig/vu/vu-utils.c
+++ mod/vu/vu-utils.c
@@ -87,6 +87,7 @@
*len = total;
return 0;
}
+ total += amt;
*buf = (t_uchar *)must_realloc ((void *)*buf, total + chunk);
}
}
johannes
- [Gnu-arch-users] [BUG] vu_file_to_string broken with files > 8k or short reads,
Johannes Berg <=