| View previous topic :: View next topic |
| Author |
Message |
evilo

Joined: 22 Apr 2004 Posts: 230
|
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Tue Aug 22, 2006 8:50 am Post subject: |
|
|
that link was wrong, here is the fix he's talking about:
| Code: | Index: bps2sdk/tools/bin2o/src/in2o.c
===================================================================
--- ps2sdk/tools/bin2o/src/bin2o.c (revision 1314)
+++ ps2sdk/tools/bin2o/src/bin2o.c (working copy)
@@ -358,7 +358,7 @@
if (fd_size < end)
end = fd_size;
- if (end < (size + start))
+ if (end < (size - start))
size = end - start;
buffer = malloc(size);
|
|
|
| Back to top |
|
 |
Herben
Joined: 25 Jan 2004 Posts: 107
|
Posted: Wed Nov 22, 2006 4:12 pm Post subject: |
|
|
| fixed and committed. thanks for pointing that out. :) |
|
| Back to top |
|
 |
|