Changeset 3080


Ignore:
Timestamp:
Jan 25, 2013, 4:09:59 AM (6 years ago)
Author:
bruno
Message:
  • Fix #249 by changing the wrong affectation of fname (patch from Jean Philippe Mohler jpmohler_at_h2i.fr)
Location:
branches/3.0/mondo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mondo/src/common/libmondo-stream.c

    r3060 r3080  
    372372{
    373373    int res = 0;
    374     char *fname = (char *)&res;                 /* Should NOT be NULL */
     374    char fname_buf[PATH_MAX];
     375    char *fname = (char *)fname_buf;                    /* Should NOT be NULL */
    375376    char *tmp = NULL;
    376377
  • branches/3.0/mondo/test/mondo-test

    r3078 r3080  
    249249
    250250echo "Halting system"
    251 #halt -p
     251halt -p
    252252EOF
    253253    chmod 755 /tmp/script
     
    255255    #sudocmd "chmod 622 /dev/tty0"
    256256    port=2300
    257     sudomrtest "qemu-kvm --nographic -m 1024 -redir tcp:${port}:10.0.2.15:22 $MRTEST/vm/$d.qemu"&
     257    sudomrtest "qemu-kvm --nographic -m 2048 -redir tcp:${port}:10.0.2.15:22 $MRTEST/vm/$d.qemu"&
    258258    sleep 60
    259259    sudomrtest "scp -i $MRTEST/.ssh/pb_dsa -P $port /tmp/script root@localhost:"
Note: See TracChangeset for help on using the changeset viewer.