Public bug reported:

This bug breaks some apps I need to use that rely on libMrm.so.3, they segfault
due to a buffer overflow on the stack

The bug is trivial. It's using an XtNumber (aka ARRAY_SIZE) instead of strlen() 
to get the size
of a string declared as a char * ... FAIL :-)

The attached patch fixes it. Please apply. It's fixed in OpenMotif 2.3.x but 
Ubuntu is still at 2.2.x
and the app I'm using requires 2.2.x anyways.

** Affects: openmotif (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Buffer overflow in Idb__HDR_GetHeader() (with fix)
https://bugs.launchpad.net/bugs/464088
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to