|
From: Karsten W. <kar...@us...> - 2005-12-15 21:44:18
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23032 Modified Files: aeutils.c Log Message: empty binary string fix Index: aeutils.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/aeutils.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** aeutils.c 11 Jan 2005 22:48:04 -0000 1.4 --- aeutils.c 15 Dec 2005 21:44:05 -0000 1.5 *************** *** 47,50 **** --- 47,51 ---- len = AEGetDescDataSize (desc); + /* kw - 2005-12-12 - we should return at least a zero sized handle if (len < 1) { *************** *** 53,57 **** return (false); } ! if (!newclearhandle (len, h)) { --- 54,58 ---- return (false); } ! */ if (!newclearhandle (len, h)) { *************** *** 155,159 **** boolean datahandletostring (AEDesc *desc, bigstring bs) { ! /* PBS 03/14/02: get data from AEDesc's data handle as --- 156,160 ---- boolean datahandletostring (AEDesc *desc, bigstring bs) { ! /* PBS 03/14/02: get data from AEDesc's data handle as |