CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2025/06/16 09:35:29

Modified files:
        usr.sbin/rpki-client: http.c 

Log message:
Assert that the bufpos is smaller than the bufsz before calling read.

Doing these checks is sensible since if bufsz is smaller than bufpos
then read would overflow the buffer. Also check before a write call
that uses bufsz - bufpos.

Maybe enough to handle CID 554955
OK tb@

Reply via email to