To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=114982 Issue #|114982 Summary|dmake: text-handling scrambles memory (dmake 4.11) Component|tools Version|OOo 3.3 Beta 1 Platform|Opteron/x86_64 URL| OS/Version|Linux Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|dmake Assigned to|mh Reported by|jonpile
------- Additional comments from [email protected] Fri Oct 8 00:29:26 +0000 2010 ------- On certain Linux platforms, most notably Ubuntu 10.04 LTS, dmake is unusable due to memory-scrambling bugs handling certain text patterns in macros. Symptoms vary, but the following simple makefile shows the problem: % cat makefile W = $(shell pwd | sed -n \ "s:.*$${{HOME\#\#*/}}/\([^/]*\).*:\1:"p) all:: +echo $W % dmake dmake: Executing shell macro: pwd | sed -n "s:.*$${{HE####*/}}\[^/]*\\ /bin/bash: -c: line 0: unexpected EOF while looking for matching `"' dmake: Error code 2, while making 'Shell escape' % dmake -V|head -1 dmake - Version 4.11 (x86_64-unknown-linux-gnu) Notice that the (admittedly complex) sed command has been garbled. The problem is obvious - there are a lot of uses of strcpy() on obviously overlapping memory segments. The behavior of strcpy in this case, per ISO, is "undefined". It appears this is fixed in the current trunk (broken in shipped version 4.11). --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
