MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
gmp
Recherche

[$] GMP and assert()

mercredi 27 février 2019, 22:11 , par LWN.net
A report of a potential security problem in the GNU Multiple Precision Arithmetic (GMP)
library was met with a mixed reaction, from
skepticism to responses verging on hostility, but the report ultimately
raised a question worth pondering. What role should assertions
(i.e. calls to the POSIX assert()
macro)
play in error handling? An
assertion that fails leads to a process exit, which may not be what a
developer calling into a library expects. Unexpected behavior is, of
course, one step on a path that can lead to security holes.
https://lwn.net/Articles/780817/rss
News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Date Actuelle
jeu. 25 avril - 06:39 CEST