Re: [PR] Fix possible invalid cast [logging-log4cxx]

2025-02-02 Thread via GitHub
rm5248 merged PR #470: URL: https://github.com/apache/logging-log4cxx/pull/470 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...

Re: [PR] Fix possible invalid cast [logging-log4cxx]

2025-01-31 Thread via GitHub
swebb2066 commented on code in PR #470: URL: https://github.com/apache/logging-log4cxx/pull/470#discussion_r1938186348 ## src/main/cpp/optionconverter.cpp: ## @@ -343,8 +343,13 @@ LevelPtr OptionConverter::toLevel(const LogString& value, try { - L

[PR] Fix possible invalid cast [logging-log4cxx]

2025-01-31 Thread via GitHub
rm5248 opened a new pull request, #470: URL: https://github.com/apache/logging-log4cxx/pull/470 If a user attempts to load a config file with an improper level set such that a non-level class is attempted to be used, throw an exception instead of accessing invalid memory. -- This is an a