summaryrefslogtreecommitdiffstats
path: root/libraw1394.pc.in
diff options
context:
space:
mode:
authorGravatar David Moore 2008-12-20 19:28:01 -0800
committerGravatar Dan Dennedy 2008-12-29 11:12:32 -0800
commitcb8b7bf86af003ac6eeb167305c70192c4959c7b (patch)
tree32b9472cb6a1d7af1443d17032c239ca5ccddb7b /libraw1394.pc.in
parentFix iso_shutdown with juju firewire stack (diff)
Fix stack corruption during juju lock transactions
When performing a lock transaction (such as with fw_lock) under Juju, 4 bytes of the stack gets corrupted. This is because the lock transaction has 8 bytes of data sent and 4 bytes received. Since the transaction "length" is specified as 8, handle_device_event() copies 8 bytes into the destination variable instead of the desired 4, and overflows into the stack by 4 bytes. This patch fixes the corruption by adding an extra "out_length" argument to the send_request() function so that both in_length and out_length can be specified separately. Signed-off-by: Dan Dennedy <dan@dennedy.org>
Diffstat (limited to 'libraw1394.pc.in')
0 files changed, 0 insertions, 0 deletions
pan class='deletions'>-340/+1484 2016-03-03Update gb.h - v0.02Gravatar gingerBill 1-38/+59 2016-03-03New LibrariesGravatar gingerBill 3-2101/+1219 2016-01-01Explicit Everything!Gravatar gingerBill 4-306/+241 2015-12-17Macro fixesGravatar gingerBill 3-58/+75 2015-12-17Change conventions slightlyGravatar gingerBill 4-1041/+1069 2015-12-15Remove C++ specific macrosGravatar gingerBill 1-19/+2 2015-12-15Allow for no <stdio.h>Gravatar gingerBill 2-18/+32 2015-12-14gb.hpp - Allocators can be passed to gb_alloc/free/etc. without cast using `t...Gravatar gingerBill 3-33/+126 2015-12-14Update README.mdGravatar gingerBill 1-1/+1 2015-12-14gb.h - Implement all functions (from gb.hpp)Gravatar gingerBill 3-247/+1983 2015-12-14Update README.mdGravatar gingerBill 1-0/+1