{"action":"created","issue":{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1426","labels_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1426/labels{/name}","comments_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1426/comments","events_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1426/events","html_url":"https://github.com/magnumripper/JohnTheRipper/issues/1426","id":87072110,"number":1426,"title":"Lineage format casts breaks strict aliasing rules","user":{"login":"magnumripper","id":1268598,"avatar_url":"https://avatars.githubusercontent.com/u/1268598?v=3","gravatar_id":"","url":"https://api.github.com/users/magnumripper","html_url":"https://github.com/magnumripper","followers_url":"https://api.github.com/users/magnumripper/followers","following_url":"https://api.github.com/users/magnumripper/following{/other_user}","gists_url":"https://api.github.com/users/magnumripper/gists{/gist_id}","starred_url":"https://api.github.com/users/magnumripper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnumripper/subscriptions","organizations_url":"https://api.github.com/users/magnumripper/orgs","repos_url":"https://api.github.com/users/magnumripper/repos","events_url":"https://api.github.com/users/magnumripper/events{/privacy}","received_events_url":"https://api.github.com/users/magnumripper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-10T19:04:05Z","updated_at":"2015-06-10T19:15:34Z","closed_at":null,"body":"@kholia did you not get these?\r\n```\r\nlineage_fmt_plug.c: In function 'get_hash_0':\r\nlineage_fmt_plug.c:198:1: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]\r\n make_get_hash(0, 0xf)\r\n ^\r\nlineage_fmt_plug.c: In function 'get_hash_1':\r\nlineage_fmt_plug.c:199:1: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]\r\n make_get_hash(1, 0xff)\r\n ^\r\nlineage_fmt_plug.c: In function 'get_hash_2':\r\nlineage_fmt_plug.c:200:1: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]\r\n make_get_hash(2, 0xfff)\r\n ^\r\nlineage_fmt_plug.c: In function 'get_hash_3':\r\nlineage_fmt_plug.c:201:1: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]\r\n make_get_hash(3, 0xffff)\r\n ^\r\nlineage_fmt_plug.c: In function 'get_hash_4':\r\nlineage_fmt_plug.c:202:1: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]\r\n make_get_hash(4, 0xfffff)\r\n ^\r\nlineage_fmt_plug.c: In function 'get_hash_5':\r\nlineage_fmt_plug.c:203:1: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]\r\n make_get_hash(5, 0xffffff)\r\n ^\r\nlineage_fmt_plug.c: In function 'get_hash_6':\r\nlineage_fmt_plug.c:204:1: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]\r\n make_get_hash(6, 0x7ffffff)\r\n ^\r\nlineage_fmt_plug.c: In function 'cmp_all':\r\nlineage_fmt_plug.c:318:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]\r\n   unsigned long long v = ((unsigned long long *)crypt_out[i])[0];\r\n   ^\r\nlineage_fmt_plug.c: In function 'cmp_one':\r\nlineage_fmt_plug.c:331:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]\r\n  unsigned long long v = ((unsigned long long *)crypt_out[index])[0];\r\n  ^\r\n```"},"comment":{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/comments/110882975","html_url":"https://github.com/magnumripper/JohnTheRipper/issues/1426#issuecomment-110882975","issue_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1426","id":110882975,"user":{"login":"magnumripper","id":1268598,"avatar_url":"https://avatars.githubusercontent.com/u/1268598?v=3","gravatar_id":"","url":"https://api.github.com/users/magnumripper","html_url":"https://github.com/magnumripper","followers_url":"https://api.github.com/users/magnumripper/followers","following_url":"https://api.github.com/users/magnumripper/following{/other_user}","gists_url":"https://api.github.com/users/magnumripper/gists{/gist_id}","starred_url":"https://api.github.com/users/magnumripper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnumripper/subscriptions","organizations_url":"https://api.github.com/users/magnumripper/orgs","repos_url":"https://api.github.com/users/magnumripper/repos","events_url":"https://api.github.com/users/magnumripper/events{/privacy}","received_events_url":"https://api.github.com/users/magnumripper/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T19:15:34Z","updated_at":"2015-06-10T19:15:34Z","body":"F#§% you could have warned me in the PR. I'll just throw it to hell again then. We're not in any shortage of b0rken code."}}