mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-15 02:01:07 +00:00
Ensure page_size is always at least 1
This avoids potential divisions by 0, and possibly also other mistakes in case of malformed avrdude.conf entries. The solution is different than the one in patch #9820 but is supposed to cover that condition as well. patch #9820: Fix some out-of-bounds/uninitialized issues git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1436 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in: