summary refs log tree commit diff stats
path: root/results/classifier/phi4:14b/output/manual-review/1075339
blob: 7cdd34fbc135901d2a87a0b08fdce3fd47406872 (plain) (blame)
1
2
3
4
5
6
linux-user emulation of setsockopt ignores optlen

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.