summaryrefslogtreecommitdiff
path: root/CODING_STYLE
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-04-09 21:03:12 +0200
committerLennart Poettering <lennart@poettering.net>2013-04-09 21:03:12 +0200
commitfe1d424d29d7fd3a20ad1247db90cdf5473f522f (patch)
tree01dbb901a00ebeb9e680d0475e51ae59ad475572 /CODING_STYLE
parent8df31a9c980009d8a4e0ca51cc31174efb7e25c9 (diff)
bus: implement message_read_ap() non-recursively
As it turns out if you pass a va_list to a function its state becomes undefined after that function returns, and this actually does break on x86-32. Hence, let's reimplement message_read_ap() without the use of recursion. Instead we now build our own stack of types in an array so that we can decode the entire parameter list in a single stackframe.
Diffstat (limited to 'CODING_STYLE')
0 files changed, 0 insertions, 0 deletions