Git
Wiki
Site
projects
/
soft
/
tools
/
lpctools
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0211ece
)
isp_dump bug correction
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Sun, 15 Apr 2012 21:26:35 +0000
(23:26 +0200)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Sun, 15 Apr 2012 21:26:35 +0000
(23:26 +0200)
isp_utils.c
patch
|
blob
|
history
diff --git
a/isp_utils.c
b/isp_utils.c
index
3a858fc
..
8a01b67
100644
(file)
--- a/
isp_utils.c
+++ b/
isp_utils.c
@@
-30,6
+30,9
@@
void isp_dump(const unsigned char* buf, unsigned int buf_size)
{
unsigned int count = 0;
char pass = 0;
+ if (buf_size == 0) {
+ return;
+ }
while ((count < buf_size) || (pass == 0)) {
if (count == buf_size) {
while (count & 0x0F) {
Techno-Innov
42 impasse de la Combe du Bois
01150 Blyes - France
contact@techno-innov.fr
Design et hébergement du site :
Techno-Innov
Techno-Innov
- SARL Coopérative
539 169 417 RCS Bourg-en-Bresse
Ce site n'utilise pas de cookies, désolé pour les gourmands !