参考 スコア待ち
GNU C Library scanf and regex functions memory flaws
A flaw in a basic Linux library can make programs crash or misbehave.
- 初確認
対処法
Check that you run a version newer than 2.44 and read the vendor's advisory. The sources do not name a fixed version.
要約
The GNU C Library has memory flaws in its wide scanf functions and in regcomp and regexec. Versions 2.2 to 2.44 are affected, and programs may crash or have their memory corrupted.
該当する条件
- Wide scanf with %s or %[ into a narrow char array without the 'l' modifier
- regcomp or regexec use where memory allocation fails
製品別のインシデント: GNU C Library
GNU C Library のほかの最近のインシデント