Hello.

Due to the recent glibc changes, applications which use open() in an unsafe
way (i.e. in O_CREAT mode without setting file permissions) are abort()'ed.
For more details, see
https://www.redhat.com/archives/fedora-maintainers/2007-August/msg00293.html

It turns out that OpenDX has one such call in src/exec/libdx/fileio.c.

Please apply the attached patch to fix that.

Regards,
R.

-- 
Fedora contributor http://fedoraproject.org/wiki/DominikMierzejewski
Livna contributor http://rpm.livna.org MPlayer developer http://mplayerhq.hu
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
--- dx-4.4.4/src/exec/libdx/fileio.c.open       2006-01-05 23:55:47.000000000 
+0100
+++ dx-4.4.4/src/exec/libdx/fileio.c    2007-08-17 18:23:27.000000000 +0200
@@ -263,7 +263,7 @@ Error _dxffile_open(char *name, int rw)
        case 2:/* read/write */
                fd = open(name, O_RDWR);
                if (fd < 0) {
-                       fd = open(name, O_WRONLY | O_CREAT);
+                       fd = open(name, O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR);
                        if (fd < 0) {
                                DXSetError(ERROR_DATA_INVALID, 
                                "can't open/create file '%s'", name);
_______________________________________________
OpenDX2-dev mailing list
OpenDX2-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opendx2-dev

Reply via email to