Issue 51392 - cpp: Fatal error: Work buffer overflow
Summary: cpp: Fatal error: Work buffer overflow
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All All
: P1 (highest) Trivial (vote)
Target Milestone: OOo 2.0
Assignee: ivo.hinkelmann
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-30 05:57 UTC by pavel
Modified: 2005-07-11 17:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Logfile from GNU/Linux (34.34 KB, text/plain)
2005-06-30 06:16 UTC, pavel
no flags Details
generated resource file (75.89 KB, text/plain)
2005-06-30 06:17 UTC, pavel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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