Skip to contentSkip to conversation

test email

MODERATED mark gross 1 participant 1 message Feb 28, 2019

lore
Share & tools
lore

mark gross

author
#0 lore raw

just some junk I had from a web page to test

[$] GMP and assert()
[Security] Posted Feb 27, 2019 21:11 UTC (Wed) by jake

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.

Full Story (comments: 14)