I heard recently that Stackoverflow has changed their license on code. I don't know the details. Myself, along with a handful of other users, have explicitly licensed code posted to Stackoverflow using a blurb in our profile (this particular blurb is a few years old at this point). The license text reads as follows:
Unless otherwise noted, all original source snippets I post on any StackExchange site are dedicated to the public domain and licensed under the terms of the Unlicense or CC0, whichever is most appropriate for your use. Do with them as you see fit, no attribution necessary. Please observe the license requirements of any third-party libraries or snippets that my code references (if any), as they may supersede this license.
Stackoverflow's license seems to be CC-BY-SA, which is more restrictive than the one I specified. Either that or MIT? I'm unsure on the details.
Which terms ought a user abide by? What if I had specified a more restrictive license?