summaryrefslogtreecommitdiff
path: root/curvetun/abiname.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-03-16 13:29:56 +0100
committerDaniel Borkmann <dborkman@redhat.com>2013-03-16 13:29:56 +0100
commit7cd3e9e94ae848974d52b929fd28652f4c7d48c5 (patch)
tree20aa4e551fc877a184deb1f65fc6497eaba49b04 /curvetun/abiname.c
parentcf73bb526709f6e6783f634b7a8504dbefda9768 (diff)
geoip: make sure we null-terminate after read
Make sure raw is null-terminated after we read the buffer that we receive from the remote end. Detected by coverty scan. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'curvetun/abiname.c')
0 files changed, 0 insertions, 0 deletions
vate callback to issue the MAPVI command, and the architecture spec says that "If there is an existing mapping for the EventID-DeviceID combination, behavior is UNPREDICTABLE"). While this could be worked around in each individual driver, it may make more sense to tackle the issue at the core level. In order to avoid getting in that situation, let's have a per-interrupt flag to remember if we have already activated that interrupt or not. Fixes: f3b0946d629c ("genirq/msi: Make sure PCI MSIs are activated early") Reported-and-tested-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Cc: stable@vger.kernel.org Link: http://lkml.kernel.org/r/1484668848-24361-1-git-send-email-marc.zyngier@arm.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'sound/firewire/lib.c')