#16336: fix input checking in the surrogatepass error handler.  Patch by Serhiy Storchaka.
diff --git a/Misc/NEWS b/Misc/NEWS
index 0c31832..565ebcd 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,9 @@
 Core and Builtins
 -----------------
 
+- Issue #16336: fix input checking in the surrogatepass error handler.
+  Patch by Serhiy Storchaka.
+
 - Issue #8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now
   raises an error.