Skip to content

Commit

Permalink
CVE-2023-3961:s3: smbd: Remove the SMB_ASSERT() that crashes on bad p…
Browse files Browse the repository at this point in the history
…ipenames.

We correctly handle this and just return ENOENT (NT_STATUS_OBJECT_NAME_NOT_FOUND).

Remove knowfail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15422

Signed-off-by: Jeremy Allison <[email protected]>
  • Loading branch information
jrasamba authored and Jule Anger committed Oct 10, 2023
1 parent c39f90a commit 5ed25ef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion selftest/knownfail.d/badpipename

This file was deleted.

5 changes: 0 additions & 5 deletions source3/rpc_client/local_np.c
Original file line number Diff line number Diff line change
Expand Up @@ -551,11 +551,6 @@ struct tevent_req *local_np_connect_send(
{
DBG_DEBUG("attempt to connect to invalid pipe pathname %s\n",
lower_case_pipename);
/*
* For now, panic the server until we have
* the test code in place.
*/
SMB_ASSERT(false);
tevent_req_error(req, ENOENT);
return tevent_req_post(req, ev);
}
Expand Down

0 comments on commit 5ed25ef

Please sign in to comment.