[Arsperl-devel] ARSperl CHANGES, 1.61, 1.62 MANIFEST, 1.31, 1.32 Makefile.PL, 1.77, 1.78 changes.da
Brought to you by:
jeffmurphy
From: jeff m. <jef...@us...> - 2007-07-20 19:44:35
|
Update of /cvsroot/arsperl/ARSperl In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv13307 Modified Files: CHANGES MANIFEST Makefile.PL changes.dat support.c Log Message: buffer overrun, malloc-on-windows fix Index: support.c =================================================================== RCS file: /cvsroot/arsperl/ARSperl/support.c,v retrieving revision 1.63 retrieving revision 1.64 diff -C2 -d -r1.63 -r1.64 *** support.c 21 Apr 2007 22:22:06 -0000 1.63 --- support.c 20 Jul 2007 19:44:34 -0000 1.64 *************** *** 69,72 **** --- 69,75 ---- mallocnn(int s) { + #if defined(malloc) && defined(_WIN32) + #undef malloc + #endif void *m = malloc(s ? s : 1); *************** *** 2626,2630 **** entryList->numItems = 1; entryList->entryIdList = MALLOCNN(sizeof(AREntryIdType) * 1); ! strcpy(entryList->entryIdList[0], entry_id); return 0; --- 2629,2634 ---- entryList->numItems = 1; entryList->entryIdList = MALLOCNN(sizeof(AREntryIdType) * 1); ! strncpy(entryList->entryIdList[0], entry_id, sizeof(AREntryIdType)); ! *(entryList->entryIdList[0] + AR_MAX_ENTRYID_SIZE) = 0; return 0; Index: MANIFEST =================================================================== RCS file: /cvsroot/arsperl/ARSperl/MANIFEST,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** MANIFEST 21 Apr 2007 22:22:06 -0000 1.31 --- MANIFEST 20 Jul 2007 19:44:34 -0000 1.32 *************** *** 2,5 **** --- 2,67 ---- ARS.pm ARS.xs + ARS/CodeTemplate.pm + ARSOOmsgs.pm + ARSOOsup.pm + ARSnparm.pm + Artistic + CHANGES + INSTALLATION + LICENSE + MANIFEST + Makefile.PL + README + RELNOTES + StructDef.pl + TODO + USAGE + changes.dat + rev_AR_template.pl + support-h.template + support.c + supportrev.c + supportrev.h + supportrev_generated.c + supportrev_generated.h + typemap + example/2.x/Notifier.pl + example/3.x/Notifier.pl + example/3.x/SendNotification.pl + example/00-ReadMe + example/AddUsersToGroup.pl + example/DelUsersFromGroup.pl + example/Dump_Setup.pl + example/Dump_Users.pl + example/Dump_Users_OO.pl + example/GetCharMenu.pl + example/GetField.pl + example/GetFilter.pl + example/GetServerStatistics.pl + example/Get_Diary.pl + example/ListNTServers.pl + example/List_Entries.pl + example/PrintQual.pl + example/Show_ALink.pl + example/Show_Menu.pl + example/WhoUsesIt.pl + example/ars_CopyActiveLink.pl + example/ars_ExecuteProcess.pl + example/ars_GetControlStructFields.pl + example/ars_GetEntryBLOB.pl + example/ars_GetFullTextInfo.pl + example/ars_GetListContainer.pl + example/ars_GetListEntry.pl + example/ars_GetListGroup.pl + example/ars_GetListSQL.pl + example/ars_GetListUser.pl + example/ars_GetServerInfo.pl + example/ars_MergeEntry.pl + example/ars_QualDecode.pl + example/ars_SetServerInfo.pl + example/ars_decodeStatusHistory.pl + example/attachTest.pl + example/del_all.pl + example/getAttachment-OO.pl html/manual/OO/connection.html html/manual/OO/form.html *************** *** 9,26 **** html/manual/arrow.gif html/manual/ars_APIVersion.html - html/manual/ars_BeginBulkEntryTransaction.html html/manual/ars_CreateActiveLink.html html/manual/ars_CreateAdminExtension.html html/manual/ars_CreateAlertEvent.html - html/manual/ars_CreateCharMenu.html - html/manual/ars_CreateContainer.html html/manual/ars_CreateEntry.html - html/manual/ars_CreateEscalation.html - html/manual/ars_CreateField.html - html/manual/ars_CreateFilter.html - html/manual/ars_CreateSchema.html - html/manual/ars_CreateVUI.html html/manual/ars_DecodeAlertMessage.html - html/manual/ars_decodeStatusHistory.html html/manual/ars_DeleteActiveLink.html html/manual/ars_DeleteAdminExtension.html --- 71,79 ---- *************** *** 36,41 **** html/manual/ars_DeregisterForAlerts.html html/manual/ars_EncodeDiary.html - html/manual/ars_encodeStatusHistory.html - html/manual/ars_EndBulkEntryTransaction.html html/manual/ars_ExecuteAdminExtension.html html/manual/ars_ExecuteProcess.html --- 89,92 ---- *************** *** 68,74 **** html/manual/ars_GetListFilter.html html/manual/ars_GetListGroup.html html/manual/ars_GetListSchema.html html/manual/ars_GetListServer.html - html/manual/ars_GetListSQL.html html/manual/ars_GetListUser.html html/manual/ars_GetListVUI.html --- 119,125 ---- html/manual/ars_GetListFilter.html html/manual/ars_GetListGroup.html + html/manual/ars_GetListSQL.html html/manual/ars_GetListSchema.html html/manual/ars_GetListServer.html html/manual/ars_GetListUser.html html/manual/ars_GetListVUI.html *************** *** 96,115 **** html/manual/ars_NTTerminationClient.html html/manual/ars_NTTerminationServer.html - html/manual/ars_padEntryid.html - html/manual/ars_perl_qualifier.html html/manual/ars_RegisterForAlerts.html - html/manual/ars_SetActiveLink.html - html/manual/ars_SetCharMenu.html - html/manual/ars_SetContainer.html html/manual/ars_SetEntry.html - html/manual/ars_SetEscalation.html - html/manual/ars_SetField.html - html/manual/ars_SetFilter.html - html/manual/ars_SetImpersonatedUser.html html/manual/ars_SetLogging.html - html/manual/ars_SetSchema.html html/manual/ars_SetServerInfo.html ! html/manual/ars_SetSessionConfiguration.html ! html/manual/ars_SetVUI.html html/manual/ars_simpleMenu.html html/manual/ds_afs.html --- 147,158 ---- html/manual/ars_NTTerminationClient.html html/manual/ars_NTTerminationServer.html html/manual/ars_RegisterForAlerts.html html/manual/ars_SetEntry.html html/manual/ars_SetLogging.html html/manual/ars_SetServerInfo.html ! html/manual/ars_decodeStatusHistory.html ! html/manual/ars_encodeStatusHistory.html ! html/manual/ars_padEntryid.html ! html/manual/ars_perl_qualifier.html html/manual/ars_simpleMenu.html html/manual/ds_afs.html *************** *** 126,129 **** --- 169,173 ---- html/manual/ds_charmenu_sql_hash.html html/manual/ds_container.html + html/manual/ds_container_info.html html/manual/ds_coord_hash.html html/manual/ds_diaryentry_hash.html *************** *** 151,162 **** html/manual/ds_getlistsql_hash.html html/manual/ds_getlistuser_hash.html - html/manual/ds_getvui_hash.html html/manual/ds_is.html html/manual/ds_mps.html html/manual/ds_msgstruct_hash.html html/manual/ds_profile_hash.html - html/manual/ds_schema.html html/manual/ds_prop_hash.html html/manual/ds_reference.html html/manual/ds_schematype.html html/manual/ds_shv.html --- 195,206 ---- html/manual/ds_getlistsql_hash.html html/manual/ds_getlistuser_hash.html html/manual/ds_is.html + html/manual/ds_getvui_hash.html html/manual/ds_mps.html html/manual/ds_msgstruct_hash.html html/manual/ds_profile_hash.html html/manual/ds_prop_hash.html html/manual/ds_reference.html + html/manual/ds_schema.html html/manual/ds_schematype.html html/manual/ds_shv.html *************** *** 167,172 **** html/manual/toc.html html/manual/variables.html ! html/manual/ars_SetLogging.html ! html/manual/ars_encodeStatusHistory.html html/AddUsersToGroup.html html/DelUsersFromGroup.html --- 211,233 ---- html/manual/toc.html html/manual/variables.html ! html/manual/ars_BeginBulkEntryTransaction.html ! html/manual/ars_CreateCharMenu.html ! html/manual/ars_CreateContainer.html ! html/manual/ars_CreateEscalation.html ! html/manual/ars_CreateField.html ! html/manual/ars_CreateFilter.html ! html/manual/ars_CreateSchema.html ! html/manual/ars_CreateVUI.html ! html/manual/ars_EndBulkEntryTransaction.html ! html/manual/ars_SetActiveLink.html ! html/manual/ars_SetCharMenu.html ! html/manual/ars_SetContainer.html ! html/manual/ars_SetEscalation.html ! html/manual/ars_SetField.html ! html/manual/ars_SetFilter.html ! html/manual/ars_SetImpersonatedUser.html ! html/manual/ars_SetSchema.html ! html/manual/ars_SetSessionConfiguration.html ! html/manual/ars_SetVUI.html html/AddUsersToGroup.html html/DelUsersFromGroup.html *************** *** 179,244 **** html/index.html html/install.html - ARSOOmsgs.pm - ARSOOsup.pm - ARSnparm.pm - Artistic - CHANGES - INSTALLATION - LICENSE - MANIFEST - Makefile.PL - README - RELNOTES - TODO - USAGE - changes.dat - support-h.template - support.c - supportrev.c - supportrev.h - supportrev_generated.c - supportrev_generated.h - rev_AR_template.pl - StructDef.pl - typemap - ARS/CodeTemplate.pm - example/2.x/Notifier.pl - example/3.x/Notifier.pl - example/3.x/SendNotification.pl - example/00-ReadMe - example/AddUsersToGroup.pl - example/DelUsersFromGroup.pl - example/Dump_Setup.pl - example/Dump_Users.pl - example/Dump_Users_OO.pl - example/GetCharMenu.pl - example/GetField.pl - example/GetFilter.pl - example/GetServerStatistics.pl - example/Get_Diary.pl - example/ListNTServers.pl - example/List_Entries.pl - example/PrintQual.pl - example/Show_ALink.pl - example/Show_Menu.pl - example/WhoUsesIt.pl - example/ars_CopyActiveLink.pl - example/ars_ExecuteProcess.pl - example/ars_GetControlStructFields.pl - example/ars_GetEntryBLOB.pl - example/ars_GetFullTextInfo.pl - example/ars_GetListContainer.pl - example/ars_GetListEntry.pl - example/ars_GetListGroup.pl - example/ars_GetListSQL.pl - example/ars_GetListUser.pl - example/ars_GetServerInfo.pl - example/ars_MergeEntry.pl - example/ars_QualDecode.pl - example/ars_SetServerInfo.pl - example/ars_decodeStatusHistory.pl - example/attachTest.pl - example/del_all.pl - example/getAttachment-OO.pl infra/c4asp.bat infra/c4asp.sh --- 240,243 ---- *************** *** 270,275 **** t/38createescalation.t t/39setescalation.t - t/40createcharmenu.t - t/41setcharmenu.t t/aptest.def t/aptest40.def --- 269,272 ---- *************** *** 277,280 **** t/aptest50.def t/aptest51.def ! ! --- 274,277 ---- t/aptest50.def t/aptest51.def ! t/40createcharmenu.t ! t/41setcharmenu.t Index: CHANGES =================================================================== RCS file: /cvsroot/arsperl/ARSperl/CHANGES,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** CHANGES 13 Mar 2007 13:20:29 -0000 1.61 --- CHANGES 20 Jul 2007 19:44:34 -0000 1.62 *************** *** 13,16 **** --- 13,49 ---- + Released: xx/xx/xxx Version: 1.91 + + + (JCM) buffer overflow in perl_BuildEntryList + + (JCM) malloc-on-windows patch by John Unsworth + + (TS) fixed memory leak in ars_Get... functions (added "sv_2mortal( (SV*) RETVAL )") + + (TS) bugfix in dup_Value (support.c) for API version <= 5.0.1 + + (TS) changed enum limits processing in perl_ARFieldLimitStruct for API version <= 5.0.1 + + (TS) updated MANIFEST file + + (TS) replaced strdup() by arsperl_strdup() form win32 to fix problems with VisualStudio8 + + (TS) changed type of "owner" attribute: ARNameType -> ARAccessNameType + + (TS) corrected function signature for ars_SetVUI, ars_CreateSchema + + (TS) fixed memory leak in sv_to_ARValue (support.c) + + (TS) fixed memory leak in ars_GetMultipleEntries, ars_GetListEntryWithFields + XPUSHs(newRV_noinc(...)) -> XPUSHs(sv_2mortal(newRV_noinc(...))) + + (TS) added "name" value to schemaHash returned by ars_GetSchema + + (TS) fixed rev_ARArchiveInfo Struct, moved function from supportrev_generated.c to supportrev.c + + (TS) changed $ARS_LIBS variable for 7.0 Unix API in Makefile.pl (-licuuc -> -licuucbmc) + + Released: 03/12/2007 Version: 1.90 Index: Makefile.PL =================================================================== RCS file: /cvsroot/arsperl/ARSperl/Makefile.PL,v retrieving revision 1.77 retrieving revision 1.78 diff -C2 -d -r1.77 -r1.78 *** Makefile.PL 21 Apr 2007 22:22:06 -0000 1.77 --- Makefile.PL 20 Jul 2007 19:44:34 -0000 1.78 *************** *** 31,35 **** #$ARSAPI = "/u1/project/ARSperl/api/linux/4.0"; #$ARSAPI = "/u1/project/ARSperl/api/sol2/api6.3"; ! #$ARSAPI = "/u1/project/ARSperl/api/linux/6.3"; #$ARSAPI = "/u1/project/ARSperl/api/sol2/api5.1.1"; # $ARSAPI = "/home/jcmurphy/arsperl/api/5.1"; --- 31,35 ---- #$ARSAPI = "/u1/project/ARSperl/api/linux/4.0"; #$ARSAPI = "/u1/project/ARSperl/api/sol2/api6.3"; ! $ARSAPI = "/u1/project/ARSperl/api/linux/7.0.1p1"; #$ARSAPI = "/u1/project/ARSperl/api/sol2/api5.1.1"; # $ARSAPI = "/home/jcmurphy/arsperl/api/5.1"; Index: changes.dat =================================================================== RCS file: /cvsroot/arsperl/ARSperl/changes.dat,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** changes.dat 21 Apr 2007 22:22:06 -0000 1.54 --- changes.dat 20 Jul 2007 19:44:34 -0000 1.55 *************** *** 1,3 **** ! TS fixed memory leak in ars_Get... functions (added "sv_2mortal( (SV*) RETVAL )") TS bugfix in dup_Value (support.c) for API version <= 5.0.1 --- 1,5 ---- ! released=xx/xx/xxx version=1.91 ! JCM buffer overflow in perl_BuildEntryList ! JCM malloc-on-windows patch by John Unsworth TS fixed memory leak in ars_Get... functions (added "sv_2mortal( (SV*) RETVAL )") TS bugfix in dup_Value (support.c) for API version <= 5.0.1 |