CERT-Polska / karton

Distributed malware processing framework based on Python, Redis and S3.
https://karton-core.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
381 stars 45 forks source link

Update karton.py #253

Closed Bornunique911 closed 5 months ago

Bornunique911 commented 5 months ago

Fixed typo in the karton.py file in the core folder.

psrok1 commented 5 months ago

It's not really a typo, it's a note in comment to ensure that we have atomic operation there. If it's not, there is possible TOCTOU race condition between getting current binds and setting the new ones.

Bornunique911 commented 5 months ago

Okay got it.