{"author":"Daniel Stenberg","author_email":"daniel@haxx.se","author_time":1735689633,"commit_time":1735761387,"committer":"Daniel Stenberg","committer_email":"daniel@haxx.se","hash":"af4e85925d98d7fb0de84613a3ec422c9ea0afd2","message":"select: avoid a NULL deref in cwfds_add_sock\n\ncurl_multi_waitfds(m, NULL, ...);\n\n=> Curl_waitfds_init(&cwfds, ufds, size);\n\n=> Curl_waitfds_add_ps(&cwfds);\n\n=>   cwfds_add_sock(cwfds, ...);\n\nWould then try to use the ->wfds array while set to NULL previously.\nThis should not happen, which this is now also protected with an assert\nto trigger debug builds if it happens.\n\nCaught by CodeSonar\n\nAssisted-by: Jay Satiro\n\nCloses #15881\n","parents":["26a672260b186a34cd9df81913930a5c0086083a"],"tree_hash":"a48928cd1e6d3d468c4dad03c3eda88defbbf8c7"}