Ticket #78: libraw1394.patch

File libraw1394.patch, 395 bytes (added by adi, 4 years ago)

patch against libraw1394-2.0.0, fixing a segfault

  • fw.c

    old new  
    748748                return 0; 
    749749 
    750750        rrb = malloc(sizeof *rrb + in_length + response.length); 
     751        rrb->request.buffer = rrb->data; 
     752        rrb->response.buffer = rrb->data + in_length; 
    751753 
    752754        rrb->request_response.request = &rrb->request; 
    753755        rrb->request_response.response = &rrb->response;