Skip to content

Commit

Permalink
Merge pull request #15 from anoo1/frusize
Browse files Browse the repository at this point in the history
Increase size of buffer length variable
  • Loading branch information
williamspatrick committed May 24, 2016
2 parents a14239a + 81aecc6 commit 3a6177e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frup.c
Expand Up @@ -948,7 +948,7 @@ parse_fru (const void* msgbuf, sd_bus_message* vpdtbl)
return (rv);
}

int parse_fru_area (const uint8_t area, const void* msgbuf, const uint8_t len, sd_bus_message* vpdtbl)
int parse_fru_area (const uint8_t area, const void* msgbuf, const size_t len, sd_bus_message* vpdtbl)
{
int ret = 0;
int rv = -1;
Expand Down
2 changes: 1 addition & 1 deletion frup.h
Expand Up @@ -10,7 +10,7 @@ extern "C"

/* Parse an IPMI write fru data message into a dictionary containing name value pair of VPD entries.*/
int parse_fru (const void* msgbuf, sd_bus_message* vpdtbl);
int parse_fru_area (const uint8_t area, const void* msgbuf, const uint8_t len, sd_bus_message* vpdtbl);
int parse_fru_area (const uint8_t area, const void* msgbuf, const size_t len, sd_bus_message* vpdtbl);

#ifdef __cplusplus
}
Expand Down

0 comments on commit 3a6177e

Please sign in to comment.