Good day.
I am trying to make a certain analog base64 encoder on an assembler, and the following question arose: the algorithm has a conversion of three bytes to four, but in practice this means that you have to either read one byte, or read two, then one more, or read four at once, but then process only three.
Question: if there is a certain allocated memory area, is it safe to read one byte after it, if we know for sure that its value is not important to us and will be ignored? .. Can there be situations when this will lead to AV, provided that all data before him - valid?