Changeset 250
- Timestamp:
- Aug 16, 2005, 5:12:10 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/avv.c
r199 r250 15 15 01 Aug 04 SHL Rework fixup usage 16 16 06 Jun 05 SHL Drop unused 17 14 Aug 05 SHL rewrite_archiverbb2: avoid dereferencing null signature 18 14 Aug 05 SHL ArcReviewDlgProc: ensure signature allocated 17 19 18 20 ***********************************************************************/ … … 20 22 #define INCL_DOS 21 23 #define INCL_WIN 22 23 24 #include <os2.h> 25 24 26 #include <stdlib.h> 25 27 #include <stdio.h> … … 28 30 #include <ctype.h> 29 31 #include <time.h> 32 30 33 #include "fm3dll.h" 31 34 #include "fm3dlg.h" … … 222 225 INT counter = 0; 223 226 ARC_TYPE *info; 224 static CHARs[258];227 CHAR s[258]; 225 228 CHAR *p; 226 229 … … 289 292 s, 290 293 sizeof(s), 291 strlen(info->signature)),294 info->signature ? strlen(info->signature) : 0), 292 295 nonull(info->startlist), 293 296 nonull(info->endlist), … … 410 413 411 414 412 MRESULT EXPENTRY ArcReviewDlgProc 415 MRESULT EXPENTRY ArcReviewDlgProc(HWND hwnd,ULONG msg,MPARAM mp1,MPARAM mp2) 413 416 { 414 417 ARCDUMP *admp; … … 873 876 admp->info->exwdirs = xstrdup_from_window(hwnd,AD_WDIRS,admp->info->exwdirs); 874 877 admp->info->ext = xstrdup_from_window(hwnd,AD_EXT,admp->info->ext); 875 literal(xstrdup_from_window(hwnd, 876 AD_SIG, 877 admp->info->signature)); 878 admp->info->signature = xstrdup_from_window(hwnd, 879 AD_SIG, 880 admp->info->signature); 881 literal(admp->info->signature); 878 882 admp->info->list = xstrdup_from_window(hwnd, 879 883 AD_LIST,
Note:
See TracChangeset
for help on using the changeset viewer.