AllWize / allwize

AllWize Library
GNU Lesser General Public License v3.0
18 stars 7 forks source link

fixed possible overflow bug and code style #5

Closed mariusmm closed 6 years ago

mariusmm commented 6 years ago

Possible bug on the use of global variable _pointer that can overflows _buffer.

Also, functions should exit on a single point, no multiple returns allowed. Keep some of them for code clarity.