Commit c3b8bd5
committed
in_kafka: add NULL check for SASL mechanism allocation
Add NULL check after flb_sds_create() when allocating SASL mechanism string during AWS MSK IAM setup to prevent crashes on allocation failure.
Signed-off-by: Arbin <[email protected]>1 parent 2264d52 commit c3b8bd5
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
287 | 292 | | |
288 | 293 | | |
289 | 294 | | |
| |||
0 commit comments