Title: fuzzing crash in `simplecpp::preprocess()` · Issue #546 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: fuzzing crash in `simplecpp::preprocess()` · Issue #546 · cppcheck-opensource/simplecpp
X Title: fuzzing crash in `simplecpp::preprocess()` · Issue #546 · cppcheck-opensource/simplecpp
Description: #if __has_include< simplecpp.cpp:3598:92: runtime error: member access within null pointer of type 'const struct Token' #0 0x55fceeca28c5 in simplecpp::preprocess(simplecpp::TokenList&, simplecpp::TokenList const&, std::vector Open Graph Description: #if __has_include< simplecpp.cpp:3598:92: runtime error: member access within null pointer of type 'const struct Token' #0 0x55fceeca28c5 in simplecpp::preprocess(simplecpp::TokenList&, simplecpp::...
X Description: #if __has_include< simplecpp.cpp:3598:92: runtime error: member access within null pointer of type 'const struct Token' #0 0x55fceeca28c5 in simplecpp::preprocess(simplecpp::TokenList&am...
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/issues/546
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"fuzzing crash in `simplecpp::preprocess()`","articleBody":"```cpp\n#if __has_include\u003c\n```\n\n```\nsimplecpp.cpp:3598:92: runtime error: member access within null pointer of type 'const struct Token'\n #0 0x55fceeca28c5 in simplecpp::preprocess(simplecpp::TokenList\u0026, simplecpp::TokenList const\u0026, std::vector\u003cstd::__cxx11::basic_string\u003cchar, std::char_traits\u003cchar\u003e, std::allocator\u003cchar\u003e \u003e, std::allocator\u003cstd::__cxx11::basic_string\u003cchar, std::char_traits\u003cchar\u003e, std::allocator\u003cchar\u003e \u003e \u003e \u003e\u0026, simplecpp::FileDataCache\u0026, simplecpp::DUI const\u0026, std::__cxx11::list\u003csimplecpp::Output, std::allocator\u003csimplecpp::Output\u003e \u003e*, std::__cxx11::list\u003csimplecpp::MacroUsage, std::allocator\u003csimplecpp::MacroUsage\u003e \u003e*, std::__cxx11::list\u003csimplecpp::IfCond, std::allocator\u003csimplecpp::IfCond\u003e \u003e*) /home/user/CLionProjects/simplecpp/simplecpp.cpp:3598\n #1 0x55fceec4a3c6 in main /home/user/CLionProjects/simplecpp/main.cpp:166\n #2 0x7f1c5f827674 (/usr/lib/libc.so.6+0x27674) (BuildId: 4fe011c94a88e8aeb6f2201b9eb369f42b4a1e9e)\n #3 0x7f1c5f827728 in __libc_start_main (/usr/lib/libc.so.6+0x27728) (BuildId: 4fe011c94a88e8aeb6f2201b9eb369f42b4a1e9e)\n #4 0x55fceec4e9a4 in _start (/home/user/CLionProjects/simplecpp/simplecpp+0xd79a4) (BuildId: 76de9af1e4c2b89a0933e47a7a6cc01822313cff)\n```","author":{"url":"https://github.com/firewave","@type":"Person","name":"firewave"},"datePublished":"2025-09-24T05:26:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/546/simplecpp/issues/546"}
route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:49d149b8-a27c-3dd8-2a36-b85137edea44 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id D3DC:3885D3:BFFD92:11737DF:6A4E24BB html-safe-nonce 54aa1c8097b711c7aa2c639923b084a4bce63c905ab58421c16e98d39d0c44a7 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0RDOjM4ODVEMzpCRkZEOTI6MTE3MzdERjo2QTRFMjRCQiIsInZpc2l0b3JfaWQiOiIyNDU4NDg2OTczMzMwNzYwODkyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= visitor-hmac d6b8e43e4a22fad8c08314f419298947498edeec00cfeeac286d45142f315e60 hovercard-subject-tag issue:3447714299 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cppcheck-opensource/simplecpp/546/issue_layout twitter:image https://opengraph.githubassets.com/677b7188b95d59322e28bd74466880a1e2c782cd59fc8b4d9a500043a4465073/cppcheck-opensource/simplecpp/issues/546 twitter:card summary_large_image og:image https://opengraph.githubassets.com/677b7188b95d59322e28bd74466880a1e2c782cd59fc8b4d9a500043a4465073/cppcheck-opensource/simplecpp/issues/546 og:image:alt #if __has_include< simplecpp.cpp:3598:92: runtime error: member access within null pointer of type 'const struct Token' #0 0x55fceeca28c5 in simplecpp::preprocess(simplecpp::TokenList&, simplecpp::... og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username firewave hostname github.com expected-hostname github.com None 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 turbo-cache-control no-preview go-import github.com/cppcheck-opensource/simplecpp git https://github.com/cppcheck-opensource/simplecpp.git octolytics-dimension-user_id 278097703 octolytics-dimension-user_login cppcheck-opensource octolytics-dimension-repository_id 33434464 octolytics-dimension-repository_nwo cppcheck-opensource/simplecpp octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 33434464 octolytics-dimension-repository_network_root_nwo cppcheck-opensource/simplecpp turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release d9dd20d38f8ae3c4cb6b597807431db300d0bd2a ui-target full theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.