"*** buffer overflow detected ***" abort in MrmOpenHierarchyPerDisplay()
Bug #374907 reported by
Frédéric Delanoy
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openmotif (Fedora) |
Fix Released
|
High
|
|||
openmotif (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When a UIL-based program calls MrmOpenHierarch
aborted with "*** buffer overflow detected ***" message.
This problem has already been reported and fixed on RedHat: a test case (which I tried) and a fix (which I didn't (yet)) are available:
See https:/
Happens with Jaunty (didn't occur in intrepid)
Default Linux 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux
libmotif-dev 2.2.3-4
Steps to reproduce, expectations, ..., are explained in the above URL.
Changed in openmotif (Ubuntu): | |
status: | New → Confirmed |
Changed in openmotif (Fedora): | |
status: | Unknown → Fix Released |
Changed in openmotif (Fedora): | |
importance: | Unknown → High |
To post a comment you must log in.
Description of problem: yPerDisplay( ), it is immediately
When a UIL-based program calls MrmOpenHierarch
aborted with "*** buffer overflow detected ***" message.
This happens with any of UIL-based programs from demos/programs/ too. (Yes, one
has to build them manually, since demos/ are cut-off from .rpm.)
Version-Release number of selected component (if applicable):
2.2.3-10
How reproducible:
Always
Steps to Reproduce:
1. Unpack and build the minimal test case attached below -- tar xfz
mrm-test.tgz; cd mrm-test; make
2. Run it -- ./mrm
Actual results:
The program aborts with "*** buffer overflow detected ***: ./mrm terminated"
message.
Expected results:
The program should run and display a window with a single label.
Additional info: 2.2.3.tar. gz, 2.2.3-10. src.rpm (./configure; make) and uses that PATH=.. ./openMotif- 2.2.3/lib/ Mrm/ ./mrm), then everything
Note 1:
Interestingly, this bug is present ONLY in FC4 rpm -- pristine 2.2.3 sources are
okay.
For example, if one builds OpenMotif libraries from openMotif-
contained in openmotif-
libraries (LD_LIBRARY_
works as expected.
And, if using in the same manner libraries, produced via "rpmbuild -ba", then
the bug IS present.
Note 2:
"diff" shows that NONE of .rpm's patches touches lib/Mrm/.
So, probably the buffer overflow is triggered as a side effect of some other
patch, or is caused by different compile options.