Update of /cvsroot/playerstage/code/player/utils/playerv
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10682/playerv
Modified Files:
pv_dev_bumper.c pv_dev_ir.c
Log Message:
fixed bad mem allocation logic as per patch 1830378
Index: pv_dev_bumper.c
===================================================================
RCS file: /cvsroot/playerstage/code/player/utils/playerv/pv_dev_bumper.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** pv_dev_bumper.c 1 Nov 2007 22:16:23 -0000 1.2
--- pv_dev_bumper.c 12 Nov 2007 20:43:42 -0000 1.3
***************
*** 75,79 ****
{
int i;
! if (bumper->fig_count <= fig_count)
return;
bumper->scan_fig =
realloc(bumper->scan_fig,fig_count*sizeof(bumper->scan_fig[0]));
--- 75,79 ----
{
int i;
! if (fig_count <= bumper->fig_count)
return;
bumper->scan_fig =
realloc(bumper->scan_fig,fig_count*sizeof(bumper->scan_fig[0]));
Index: pv_dev_ir.c
===================================================================
RCS file: /cvsroot/playerstage/code/player/utils/playerv/pv_dev_ir.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** pv_dev_ir.c 1 Nov 2007 22:16:23 -0000 1.2
--- pv_dev_ir.c 12 Nov 2007 20:43:42 -0000 1.3
***************
*** 77,81 ****
{
int i;
! if (ir->fig_count <= fig_count)
return;
ir->scan_fig = realloc(ir->scan_fig,fig_count*sizeof(ir->scan_fig[0]));
--- 77,81 ----
{
int i;
! if (fig_count <= ir->fig_count)
return;
ir->scan_fig = realloc(ir->scan_fig,fig_count*sizeof(ir->scan_fig[0]));
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit