Safer Alternatives to the C Standard Library

后端 未结 6 1500
广开言路
广开言路 2021-02-07 10:29

The C standard library is notoriously poor when it comes to I/O safety. Many functions have buffer overflows (gets, scanf), or can clobber memory if n

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-07 11:05

    I believe the Apache Portable Runtime (apr) library is safer than the standard C library. I use it, well, as part of an apache module, but also for independent processes.

提交回复
热议问题