<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - libFuzzer: fuzz executable does not respect SIGPIPE"
href="https://bugs.llvm.org/show_bug.cgi?id=34999">34999</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>libFuzzer: fuzz executable does not respect SIGPIPE
</td>
</tr>
<tr>
<th>Product</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Sanne.Wouda@arm.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>I'm seeing the following behaviour on HEAD.
In bash, I run the following command:
./fuzz_target 2>&1 | less
As I understand it, when I quit less, bash sends SIGPIPE to fuzz_target. I'd
expect fuzz_target to exit() in response since its output pipe is broken.
However, fuzz_target keeps running (no output though, because the pipe is
broken).
./fuzz_target is compiled by linking fuzz_target.o (which defines
LLVMFuzzerTestOneInput) with a statically linked libFuzzer.a .</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>