Valgrind warning in unix socket

Bug #682008 reported by Brian Aker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Critical
Monty Taylor
7.0
Fix Released
Critical
Monty Taylor

Bug Description

==18505== Invalid read of size 8
==18505== at 0x85E5D5: mysql_unix_socket_protocol::Protocol::getFileDescriptors(std::vector<int, std::allocator<int> >&) (protocol.cc:126)
==18505== by 0x63766E: drizzled::plugin::Listen::setup() (listen.cc:67)
==18505== by 0x52ADD0: main (main.cc:312)
==18505== Address 0x6771ce8 is 88 bytes inside a block of size 89 alloc'd==18505== at 0x4A05974: operator new(unsigned long) (vg_replace_malloc.c:220)==18505== by 0x3F3DC9C368: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (new_allocator.h:89)
==18505== by 0x3F3DC9D14A: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) (basic_string.tcc:630)==18505== by 0x3F3DC9D59B: std::string::reserve(unsigned long) (basic_string.tcc:511)
==18505== by 0x52BFE7: boost::filesystem::basic_path<std::string, boost::filesystem::path_traits>::operator/=(char const*) (basic_string.h:918)==18505== by 0x56587A: void boost::program_options::validate<boost::filesystem::basic_path<std::string, boost::filesystem::path_traits>, char>(boost::any&, std::vec
tor<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, boost::filesystem::basic_path<std::string, boost::filesystem::path_traits>*, long) (path.hpp:204)==18505== by 0x3F4083906C: boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::string, std::allocator<std::string> > co
nst&, bool) const (value_semantic.cpp:38)==18505== by 0x3F40835F38: boost::program_options::store(boost::program_options::basic_parsed_options<char> const&, boost::program_options::variables_map&, bool) (variables_map.cpp:75)==18505== by 0x55568A: drizzled::init_common_variables(int, char**, drizzled::module::Registry&) (drizzled.cc:1453)==18505== by 0x52AB58: main (main.cc:249)
==18505==

Related branches

Brian Aker (brianaker)
Changed in drizzle:
assignee: nobody → Monty Taylor (mordred)
importance: Undecided → Critical
Monty Taylor (mordred)
Changed in drizzle:
status: New → Fix Committed
milestone: none → 2010-12-06
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.