-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update gregorian.cpp #1
Conversation
"sun" has been redefined, when this is a vital define for detecting Solaris. Renamed variable to sunday and removed redefine.
Any chance on this being reviewed/merged? |
This issue fixed? The issue is listed to Boost 1.60.0 release-note. |
Can you remind me which issue? This issue fixed? The issue is listed to Boost 1.60.0 release-note. |
Thank you @artyom-beilis . |
Yes you right... it was forgtten due to long testing cycle of regression tests. Artyom Beilis
To: boostorg/locale locale@noreply.github.com Thank you @artyom-beilis . |
Already fixed |
Adress sanitizer has a false positive in the OS library code: > strfmon_l(buf, sizeof(buf), lreal, "%i", 1043.34) /* char buf[64]; Leads to: READ of size 10 at 0x6020000002bf thread T0 #0 0x10ab9f54e in wrap_memcpy+0xf8e (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x2854e) #1 0x7ff803d22c6f in _strfmon+0x7f8 (libsystem_c.dylib:x86_64+0x74c6f) #2 0x7ff803d2323c in strfmon_l+0x9a (libsystem_c.dylib:x86_64+0x7523c) #3 0x10a4ead3e in void test_by_char<char>(std::__1::locale const&, _xlocale*)+0x1cce (test_posix_formatting:x86_64+0x100008d3e) 0x6020000002bf is located 0 bytes after 15-byte region [0x6020000002b0,0x6020000002bf) allocated by thread T0 here: #0 0x10ac546e0 in wrap_malloc+0xa0 (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0xdd6e0) #1 0x7ff803d22a55 in _strfmon+0x5de (libsystem_c.dylib:x86_64+0x74a55) #2 0x7ff803d2323c in strfmon_l+0x9a (libsystem_c.dylib:x86_64+0x7523c) #3 0x10a4ead3e in void test_by_char<char>(std::__1::locale const&, _xlocale*)+0x1cce (test_posix_formatting:x86_64+0x100008d3e)
Adress sanitizer has a false positive in the OS library code: > strfmon_l(buf, sizeof(buf), lreal, "%i", 1043.34) /* char buf[64]; Leads to: READ of size 10 at 0x6020000002bf thread T0 #0 0x10ab9f54e in wrap_memcpy+0xf8e (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x2854e) #1 0x7ff803d22c6f in _strfmon+0x7f8 (libsystem_c.dylib:x86_64+0x74c6f) #2 0x7ff803d2323c in strfmon_l+0x9a (libsystem_c.dylib:x86_64+0x7523c) #3 0x10a4ead3e in void test_by_char<char>(std::__1::locale const&, _xlocale*)+0x1cce (test_posix_formatting:x86_64+0x100008d3e) 0x6020000002bf is located 0 bytes after 15-byte region [0x6020000002b0,0x6020000002bf) allocated by thread T0 here: #0 0x10ac546e0 in wrap_malloc+0xa0 (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0xdd6e0) #1 0x7ff803d22a55 in _strfmon+0x5de (libsystem_c.dylib:x86_64+0x74a55) #2 0x7ff803d2323c in strfmon_l+0x9a (libsystem_c.dylib:x86_64+0x7523c) #3 0x10a4ead3e in void test_by_char<char>(std::__1::locale const&, _xlocale*)+0x1cce (test_posix_formatting:x86_64+0x100008d3e)
"sun" has been redefined, when this is a vital define for detecting Solaris. Renamed variable to sunday and removed redefine.