qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1075339] [NEW] linux-user emulation of setsockopt igno


From: Bugdal
Subject: [Qemu-devel] [Bug 1075339] [NEW] linux-user emulation of setsockopt ignores optlen
Date: Mon, 05 Nov 2012 22:09:50 -0000

Public bug reported:

setsockopt always treats the argument as a 4-byte int. This breaks
timeout options (for which it's an 8- or 16-byte timeval structure,
depending on word size) and possibly other socket options. int is
probably a safe default, but options whose values are other types need
special-case conversion code.

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1075339

Title:
  linux-user emulation of setsockopt ignores optlen

Status in QEMU:
  New

Bug description:
  setsockopt always treats the argument as a 4-byte int. This breaks
  timeout options (for which it's an 8- or 16-byte timeval structure,
  depending on word size) and possibly other socket options. int is
  probably a safe default, but options whose values are other types need
  special-case conversion code.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1075339/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]