Issue 51392

Summary: cpp: Fatal error: Work buffer overflow
Product: Build Tools Reporter: pavel
Component: codeAssignee: ivo.hinkelmann
Status: CLOSED FIXED QA Contact: issues@tools <issues>
Severity: Trivial    
Priority: P1 (highest) CC: issues
Version: current   
Target Milestone: OOo 2.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Logfile from GNU/Linux
none
generated resource file none

Description pavel 2005-06-30 05:57:16 UTC
Hi,

while building m112 with all translations, I got:

Making: ../../../unxlngi6.pro/srs/uidlg.srs
rsc -presponse @/tmp/mk0VE8fP
cpp: line 1177, Fatal error: Work buffer overflow:  FixedText
FT_AUTOEXTENSIONHEADER \
 { \
 Pos = MAP_APPFONT ( START_X , ?A) ; \
 Size = MAP_APPFONT ( ?B - 2*START_X , FIXEDTEXT_HEIGHT ) ; \
 Text [ de ] = "~Geben Sie den Dateityp an, auf den Sie zugreifen möchten" ; \
 Text[ en-US ] = "Specify the type of files you want to access" ; \
 Text[ rw ] = "Kugaragaza ubwoko bw'amadosiye ushaka gukoresha";\
 Text[ nb ] = "Velg hvilken type filer du vil bruke";\
...

See the attached log from GNU/Linux.
Comment 1 pavel 2005-06-30 06:14:51 UTC
The same error on Windows.

I'll also attach AutoControls.hrc.
Comment 2 pavel 2005-06-30 06:16:11 UTC
Created attachment 27576 [details]
Logfile from GNU/Linux
Comment 3 pavel 2005-06-30 06:17:44 UTC
Created attachment 27577 [details]
generated resource file
Comment 4 pavel 2005-06-30 11:34:33 UTC
sorry for mistake. It is m113 build.
Comment 5 ivo.hinkelmann 2005-06-30 12:54:56 UTC
Index: source/rscpp/cppdef.h
===================================================================
RCS file: /cvs/gsl/rsc/source/rscpp/cppdef.h,v
retrieving revision 1.5
diff -r1.5 cppdef.h
347c347,349
< #define NWORK                   32512
---
> /* #define NWORK                   32512 */
> #define NWORK                   64000 
> 
Comment 6 ivo.hinkelmann 2005-06-30 14:10:28 UTC
test runing, but should be fixed now
Comment 7 ivo.hinkelmann 2005-06-30 15:06:57 UTC
fix check into HEAD
Comment 8 ivo.hinkelmann 2005-07-11 17:42:24 UTC
closed