{"action":"closed","issue":{"url":"https://api.github.com/repos/sass/libsass/issues/2143","repository_url":"https://api.github.com/repos/sass/libsass","labels_url":"https://api.github.com/repos/sass/libsass/issues/2143/labels{/name}","comments_url":"https://api.github.com/repos/sass/libsass/issues/2143/comments","events_url":"https://api.github.com/repos/sass/libsass/issues/2143/events","html_url":"https://github.com/sass/libsass/issues/2143","id":169787499,"number":2143,"title":"Unitialized hash ","user":{"login":"iddekingej","id":9517929,"avatar_url":"https://avatars.githubusercontent.com/u/9517929?v=3","gravatar_id":"","url":"https://api.github.com/users/iddekingej","html_url":"https://github.com/iddekingej","followers_url":"https://api.github.com/users/iddekingej/followers","following_url":"https://api.github.com/users/iddekingej/following{/other_user}","gists_url":"https://api.github.com/users/iddekingej/gists{/gist_id}","starred_url":"https://api.github.com/users/iddekingej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iddekingej/subscriptions","organizations_url":"https://api.github.com/users/iddekingej/orgs","repos_url":"https://api.github.com/users/iddekingej/repos","events_url":"https://api.github.com/users/iddekingej/events{/privacy}","received_events_url":"https://api.github.com/users/iddekingej/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sass/libsass/labels/Bug%20-%20Should%20Error","name":"Bug - Should Error","color":"f82420"},{"url":"https://api.github.com/repos/sass/libsass/labels/Dev%20-%20Test%20Written","name":"Dev - Test Written","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-07T09:08:36Z","updated_at":"2016-09-07T10:11:43Z","closed_at":"2016-09-07T10:11:43Z","body":"With the following sass script:\r\n```\r\n$r:;\r\n$s:($r:b);\r\n```\r\nrunning  sassc with\r\n\r\nvalgrind --tool=memcheck --leak-check=full  ./sassc <file>\r\n\r\nGives following error:\r\n\r\n==5288== Conditional jump or move depends on uninitialised value(s)\r\n==5288==    at 0x43B6E7: Sass::List::hash() (ast.hpp:904)\r\n==5288==    by 0x43E974: operator() (ast.hpp:288)\r\n==5288==    by 0x43E974: _M_hash_code (hashtable_policy.h:1103)\r\n==5288==    by 0x43E974: std::_Hashtable<Sass::Expression*, std::pair<Sass::Expression* const, Sass::Expression*>, std::allocator<std::pair<Sass::Expression* const, Sass::Expression*> >, std::__detail::_Select1st, Sass::Hashed::CompareExpression, Sass::Hashed::HashExpression, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::count(Sass::Expression* const&) const (hashtable.h:1057)\r\n==5288==    by 0x476407: count (unordered_map.h:561)\r\n==5288==    by 0x476407: has (ast.hpp:317)\r\n==5288==    by 0x476407: operator<< (ast.hpp:326)\r\n==5288==    by 0x476407: Sass::Eval::operator()(Sass::List*) (eval.cpp:442)\r\n==5288==    by 0x47DF31: Sass::Expand::operator()(Sass::Assignment*) (expand.cpp:306)\r\n==5288==    by 0x4801F3: append_block (expand.cpp:743)\r\n==5288==    by 0x4801F3: Sass::Expand::operator()(Sass::Block*) (expand.cpp:82)\r\n==5288==    by 0x449DF4: Sass::Context::compile() (context.cpp:656)\r\n==5288==    by 0x4448CF: Sass::File_Context::parse() (context.cpp:584)\r\n==5288==    by 0x41BF6B: sass_parse_block (sass_context.cpp:304)\r\n==5288==    by 0x41BF6B: sass_compiler_parse (sass_context.cpp:450)\r\n==5288==    by 0x41C3E8: sass_compile_context (sass_context.cpp:339)\r\n==5288==    by 0x41C5FD: sass_compile_file_context (sass_context.cpp:437)\r\n==5288==    by 0x41B10A: compile_file (sassc.c:144)\r\n==5288==    by 0x409CE3: main (sassc.c:325)\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36716565-unitialized-hash?utm_campaign=plugin&utm_content=tracker%2F283068&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F283068&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}
{"actor":{"display_login":"mgreter"}}