Fix a use-after-free problem in initialization (#1920) #1921

pull laanwj wants to merge 1 commits into bitcoin:master from laanwj:2012_10_init_useafterfree changing 1 files +6 −6
  1. laanwj commented at 1:14 AM on October 12, 2012: member

    Never store the result of c_str()!

    Luckily, this only affected logging, though it could crash or leak sensitive data to the log in rare cases.

  2. Fix a use-after-free problem in initialization (#1920)
    Don't store the result of c_str().
    
    Luckily, this only affects logging, though it could crash or leak
    sensitive data to the log in rare cases.
    22bb049011
  3. laanwj referenced this in commit 4bb25e48d7 on Oct 12, 2012
  4. laanwj merged this on Oct 12, 2012
  5. laanwj closed this on Oct 12, 2012

  6. laanwj deleted the branch on Apr 9, 2014
  7. KolbyML referenced this in commit 14f0e974f8 on Dec 5, 2020
  8. DrahtBot locked this on Sep 8, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me