* [U-Boot] [PATCH 1/2] dfu: mmc: check if mmc device exists in mmc_block_op()
@ 2014-12-11 11:02 Przemyslaw Marczak
2014-12-11 11:03 ` [U-Boot] [PATCH 2/2] gadget: f_thor: check pointers before use in download_tail() Przemyslaw Marczak
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Przemyslaw Marczak @ 2014-12-11 11:02 UTC (permalink / raw)
To: u-boot
The function mmc_block_op() is the last function before
the physicall data write, but the mmc device pointer is not
checked. If mmc device not exists, then data abort will occur.
To avoid this, first the mmc device pointer is checked.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
---
drivers/dfu/dfu_mmc.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/dfu/dfu_mmc.c b/drivers/dfu/dfu_mmc.c
index 72fa03e..41ac188 100644
--- a/drivers/dfu/dfu_mmc.c
+++ b/drivers/dfu/dfu_mmc.c
@@ -40,10 +40,16 @@ static int mmc_access_part(struct dfu_entity *dfu, struct mmc *mmc, int part)
static int mmc_block_op(enum dfu_op op, struct dfu_entity *dfu,
u64 offset, void *buf, long *len)
{
- struct mmc *mmc = find_mmc_device(dfu->data.mmc.dev_num);
+ struct mmc *mmc;
u32 blk_start, blk_count, n = 0;
int ret, part_num_bkp = 0;
+ mmc = find_mmc_device(dfu->data.mmc.dev_num);
+ if (!mmc) {
+ printf("Device MMC %d - not found!", dfu->data.mmc.dev_num);
+ return -ENODEV;
+ }
+
/*
* We must ensure that we work in lba_blk_size chunks, so ALIGN
* this value.
--
1.9.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH 2/2] gadget: f_thor: check pointers before use in download_tail()
2014-12-11 11:02 [U-Boot] [PATCH 1/2] dfu: mmc: check if mmc device exists in mmc_block_op() Przemyslaw Marczak
@ 2014-12-11 11:03 ` Przemyslaw Marczak
2014-12-12 8:38 ` Lukasz Majewski
2014-12-12 8:38 ` [U-Boot] [PATCH 1/2] dfu: mmc: check if mmc device exists in mmc_block_op() Lukasz Majewski
2014-12-15 9:34 ` [U-Boot] [Patch V2 1/3] " Przemyslaw Marczak
2 siblings, 1 reply; 13+ messages in thread
From: Przemyslaw Marczak @ 2014-12-11 11:03 UTC (permalink / raw)
To: u-boot
Some pointers in function download_tail() were not checked
before the use. This could possibly cause the data abort.
To avoid this, check if the pointers are not null is added.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
---
drivers/usb/gadget/f_thor.c | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/gadget/f_thor.c b/drivers/usb/gadget/f_thor.c
index 78519fa..9f77ba6 100644
--- a/drivers/usb/gadget/f_thor.c
+++ b/drivers/usb/gadget/f_thor.c
@@ -205,12 +205,24 @@ static long long int download_head(unsigned long long total,
static int download_tail(long long int left, int cnt)
{
- struct dfu_entity *dfu_entity = dfu_get_entity(alt_setting_num);
- void *transfer_buffer = dfu_get_buf(dfu_entity);
+ struct dfu_entity *dfu_entity;
+ void *transfer_buffer;
int ret;
debug("%s: left: %llu cnt: %d\n", __func__, left, cnt);
+ dfu_entity = dfu_get_entity(alt_setting_num);
+ if (!dfu_entity) {
+ printf("Alt setting: %d entity not found!\n", alt_setting_num);
+ return -ENOENT;
+ }
+
+ transfer_buffer = dfu_get_buf(dfu_entity);
+ if (!transfer_buffer) {
+ error("Transfer buffer not allocated!");
+ return -ENXIO;
+ }
+
if (left) {
ret = dfu_write(dfu_entity, transfer_buffer, left, cnt++);
if (ret) {
--
1.9.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH 1/2] dfu: mmc: check if mmc device exists in mmc_block_op()
2014-12-11 11:02 [U-Boot] [PATCH 1/2] dfu: mmc: check if mmc device exists in mmc_block_op() Przemyslaw Marczak
2014-12-11 11:03 ` [U-Boot] [PATCH 2/2] gadget: f_thor: check pointers before use in download_tail() Przemyslaw Marczak
@ 2014-12-12 8:38 ` Lukasz Majewski
2014-12-15 9:34 ` [U-Boot] [Patch V2 1/3] " Przemyslaw Marczak
2 siblings, 0 replies; 13+ messages in thread
From: Lukasz Majewski @ 2014-12-12 8:38 UTC (permalink / raw)
To: u-boot
Hi Przemyslaw,
> The function mmc_block_op() is the last function before
> the physicall data write, but the mmc device pointer is not
> checked. If mmc device not exists, then data abort will occur.
> To avoid this, first the mmc device pointer is checked.
>
> Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
> ---
> drivers/dfu/dfu_mmc.c | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/dfu/dfu_mmc.c b/drivers/dfu/dfu_mmc.c
> index 72fa03e..41ac188 100644
> --- a/drivers/dfu/dfu_mmc.c
> +++ b/drivers/dfu/dfu_mmc.c
> @@ -40,10 +40,16 @@ static int mmc_access_part(struct dfu_entity
> *dfu, struct mmc *mmc, int part) static int mmc_block_op(enum dfu_op
> op, struct dfu_entity *dfu, u64 offset, void *buf, long *len)
> {
> - struct mmc *mmc = find_mmc_device(dfu->data.mmc.dev_num);
> + struct mmc *mmc;
> u32 blk_start, blk_count, n = 0;
> int ret, part_num_bkp = 0;
>
> + mmc = find_mmc_device(dfu->data.mmc.dev_num);
> + if (!mmc) {
> + printf("Device MMC %d - not found!",
> dfu->data.mmc.dev_num);
Please change printf() -> error();
> + return -ENODEV;
> + }
> +
> /*
> * We must ensure that we work in lba_blk_size chunks, so
> ALIGN
> * this value.
--
Best regards,
Lukasz Majewski
Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH 2/2] gadget: f_thor: check pointers before use in download_tail()
2014-12-11 11:03 ` [U-Boot] [PATCH 2/2] gadget: f_thor: check pointers before use in download_tail() Przemyslaw Marczak
@ 2014-12-12 8:38 ` Lukasz Majewski
0 siblings, 0 replies; 13+ messages in thread
From: Lukasz Majewski @ 2014-12-12 8:38 UTC (permalink / raw)
To: u-boot
Hi Przemyslaw,
> Some pointers in function download_tail() were not checked
> before the use. This could possibly cause the data abort.
> To avoid this, check if the pointers are not null is added.
>
> Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
> ---
> drivers/usb/gadget/f_thor.c | 16 ++++++++++++++--
> 1 file changed, 14 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/usb/gadget/f_thor.c b/drivers/usb/gadget/f_thor.c
> index 78519fa..9f77ba6 100644
> --- a/drivers/usb/gadget/f_thor.c
> +++ b/drivers/usb/gadget/f_thor.c
> @@ -205,12 +205,24 @@ static long long int download_head(unsigned
> long long total,
> static int download_tail(long long int left, int cnt)
> {
> - struct dfu_entity *dfu_entity =
> dfu_get_entity(alt_setting_num);
> - void *transfer_buffer = dfu_get_buf(dfu_entity);
> + struct dfu_entity *dfu_entity;
> + void *transfer_buffer;
> int ret;
>
> debug("%s: left: %llu cnt: %d\n", __func__, left, cnt);
>
> + dfu_entity = dfu_get_entity(alt_setting_num);
> + if (!dfu_entity) {
> + printf("Alt setting: %d entity not found!\n",
> alt_setting_num);
Please change printf() -> error()
> + return -ENOENT;
> + }
> +
> + transfer_buffer = dfu_get_buf(dfu_entity);
> + if (!transfer_buffer) {
> + error("Transfer buffer not allocated!");
> + return -ENXIO;
> + }
> +
> if (left) {
> ret = dfu_write(dfu_entity, transfer_buffer, left,
> cnt++); if (ret) {
--
Best regards,
Lukasz Majewski
Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [Patch V2 1/3] dfu: mmc: check if mmc device exists in mmc_block_op()
2014-12-11 11:02 [U-Boot] [PATCH 1/2] dfu: mmc: check if mmc device exists in mmc_block_op() Przemyslaw Marczak
2014-12-11 11:03 ` [U-Boot] [PATCH 2/2] gadget: f_thor: check pointers before use in download_tail() Przemyslaw Marczak
2014-12-12 8:38 ` [U-Boot] [PATCH 1/2] dfu: mmc: check if mmc device exists in mmc_block_op() Lukasz Majewski
@ 2014-12-15 9:34 ` Przemyslaw Marczak
2014-12-15 9:34 ` [U-Boot] [Patch V2 2/3] gadget: f_thor: check pointers before use in download_tail() Przemyslaw Marczak
` (2 more replies)
2 siblings, 3 replies; 13+ messages in thread
From: Przemyslaw Marczak @ 2014-12-15 9:34 UTC (permalink / raw)
To: u-boot
The function mmc_block_op() is the last function before
the physicall data write, but the mmc device pointer is not
checked. If mmc device not exists, then data abort will occur.
To avoid this, first the mmc device pointer is checked.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
---
Change v2:
- mmc_block_op(): change printf() to error()
---
drivers/dfu/dfu_mmc.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/dfu/dfu_mmc.c b/drivers/dfu/dfu_mmc.c
index 72fa03e..62d72fe 100644
--- a/drivers/dfu/dfu_mmc.c
+++ b/drivers/dfu/dfu_mmc.c
@@ -40,10 +40,16 @@ static int mmc_access_part(struct dfu_entity *dfu, struct mmc *mmc, int part)
static int mmc_block_op(enum dfu_op op, struct dfu_entity *dfu,
u64 offset, void *buf, long *len)
{
- struct mmc *mmc = find_mmc_device(dfu->data.mmc.dev_num);
+ struct mmc *mmc;
u32 blk_start, blk_count, n = 0;
int ret, part_num_bkp = 0;
+ mmc = find_mmc_device(dfu->data.mmc.dev_num);
+ if (!mmc) {
+ error("Device MMC %d - not found!", dfu->data.mmc.dev_num);
+ return -ENODEV;
+ }
+
/*
* We must ensure that we work in lba_blk_size chunks, so ALIGN
* this value.
--
1.9.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [U-Boot] [Patch V2 2/3] gadget: f_thor: check pointers before use in download_tail()
2014-12-15 9:34 ` [U-Boot] [Patch V2 1/3] " Przemyslaw Marczak
@ 2014-12-15 9:34 ` Przemyslaw Marczak
2014-12-16 13:47 ` Lukasz Majewski
2014-12-15 9:34 ` [U-Boot] [Patch V2 3/3] dfu: dfu_get_buf: check the value of env dfu_bufsiz before use Przemyslaw Marczak
2014-12-16 13:47 ` [U-Boot] [Patch V2 1/3] dfu: mmc: check if mmc device exists in mmc_block_op() Lukasz Majewski
2 siblings, 1 reply; 13+ messages in thread
From: Przemyslaw Marczak @ 2014-12-15 9:34 UTC (permalink / raw)
To: u-boot
Some pointers in function download_tail() were not checked
before the use. This could possibly cause the data abort.
To avoid this, check if the pointers are not null is added.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
---
Change v2:
- download_tail(): change printf() to error()
---
drivers/usb/gadget/f_thor.c | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/gadget/f_thor.c b/drivers/usb/gadget/f_thor.c
index 78519fa..2d0410d 100644
--- a/drivers/usb/gadget/f_thor.c
+++ b/drivers/usb/gadget/f_thor.c
@@ -205,12 +205,24 @@ static long long int download_head(unsigned long long total,
static int download_tail(long long int left, int cnt)
{
- struct dfu_entity *dfu_entity = dfu_get_entity(alt_setting_num);
- void *transfer_buffer = dfu_get_buf(dfu_entity);
+ struct dfu_entity *dfu_entity;
+ void *transfer_buffer;
int ret;
debug("%s: left: %llu cnt: %d\n", __func__, left, cnt);
+ dfu_entity = dfu_get_entity(alt_setting_num);
+ if (!dfu_entity) {
+ error("Alt setting: %d entity not found!\n", alt_setting_num);
+ return -ENOENT;
+ }
+
+ transfer_buffer = dfu_get_buf(dfu_entity);
+ if (!transfer_buffer) {
+ error("Transfer buffer not allocated!");
+ return -ENXIO;
+ }
+
if (left) {
ret = dfu_write(dfu_entity, transfer_buffer, left, cnt++);
if (ret) {
--
1.9.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [U-Boot] [Patch V2 3/3] dfu: dfu_get_buf: check the value of env dfu_bufsiz before use
2014-12-15 9:34 ` [U-Boot] [Patch V2 1/3] " Przemyslaw Marczak
2014-12-15 9:34 ` [U-Boot] [Patch V2 2/3] gadget: f_thor: check pointers before use in download_tail() Przemyslaw Marczak
@ 2014-12-15 9:34 ` Przemyslaw Marczak
2014-12-16 13:48 ` Lukasz Majewski
2014-12-16 13:47 ` [U-Boot] [Patch V2 1/3] dfu: mmc: check if mmc device exists in mmc_block_op() Lukasz Majewski
2 siblings, 1 reply; 13+ messages in thread
From: Przemyslaw Marczak @ 2014-12-15 9:34 UTC (permalink / raw)
To: u-boot
In function dfu_get_buf(), the size of allocated buffer could
be defined by the env variable. The size from this variable
was passed for memalign() without checking its value.
And the the memalign will return non null pointer for size 0.
This could possibly cause data abort, so now the value of var
is checked before use. And if this variable is set to 0 then
the default size will be used.
This commit also changes the base passed to simple_strtoul()
to 0. Now decimal and hex values can be used for the variable
dfu_bufsiz.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
---
Change v2:
- new patch
---
drivers/dfu/dfu.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c
index c0aba6e..49abd85 100644
--- a/drivers/dfu/dfu.c
+++ b/drivers/dfu/dfu.c
@@ -111,8 +111,12 @@ unsigned char *dfu_get_buf(struct dfu_entity *dfu)
return dfu_buf;
s = getenv("dfu_bufsiz");
- dfu_buf_size = s ? (unsigned long)simple_strtol(s, NULL, 16) :
- CONFIG_SYS_DFU_DATA_BUF_SIZE;
+ if (s)
+ dfu_buf_size = (unsigned long)simple_strtol(s, NULL, 0);
+
+ if (!s || !dfu_buf_size)
+ dfu_buf_size = CONFIG_SYS_DFU_DATA_BUF_SIZE;
+
if (dfu->max_buf_size && dfu_buf_size > dfu->max_buf_size)
dfu_buf_size = dfu->max_buf_size;
--
1.9.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [U-Boot] [Patch V2 1/3] dfu: mmc: check if mmc device exists in mmc_block_op()
2014-12-15 9:34 ` [U-Boot] [Patch V2 1/3] " Przemyslaw Marczak
2014-12-15 9:34 ` [U-Boot] [Patch V2 2/3] gadget: f_thor: check pointers before use in download_tail() Przemyslaw Marczak
2014-12-15 9:34 ` [U-Boot] [Patch V2 3/3] dfu: dfu_get_buf: check the value of env dfu_bufsiz before use Przemyslaw Marczak
@ 2014-12-16 13:47 ` Lukasz Majewski
2 siblings, 0 replies; 13+ messages in thread
From: Lukasz Majewski @ 2014-12-16 13:47 UTC (permalink / raw)
To: u-boot
Hi Przemyslaw,
> The function mmc_block_op() is the last function before
> the physicall data write, but the mmc device pointer is not
> checked. If mmc device not exists, then data abort will occur.
> To avoid this, first the mmc device pointer is checked.
>
> Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
> ---
> Change v2:
> - mmc_block_op(): change printf() to error()
> ---
> drivers/dfu/dfu_mmc.c | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/dfu/dfu_mmc.c b/drivers/dfu/dfu_mmc.c
> index 72fa03e..62d72fe 100644
> --- a/drivers/dfu/dfu_mmc.c
> +++ b/drivers/dfu/dfu_mmc.c
> @@ -40,10 +40,16 @@ static int mmc_access_part(struct dfu_entity
> *dfu, struct mmc *mmc, int part) static int mmc_block_op(enum dfu_op
> op, struct dfu_entity *dfu, u64 offset, void *buf, long *len)
> {
> - struct mmc *mmc = find_mmc_device(dfu->data.mmc.dev_num);
> + struct mmc *mmc;
> u32 blk_start, blk_count, n = 0;
> int ret, part_num_bkp = 0;
>
> + mmc = find_mmc_device(dfu->data.mmc.dev_num);
> + if (!mmc) {
> + error("Device MMC %d - not found!",
> dfu->data.mmc.dev_num);
> + return -ENODEV;
> + }
> +
> /*
> * We must ensure that we work in lba_blk_size chunks, so
> ALIGN
> * this value.
Applied to u-boot-dfu, thanks!
--
Best regards,
Lukasz Majewski
Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [Patch V2 2/3] gadget: f_thor: check pointers before use in download_tail()
2014-12-15 9:34 ` [U-Boot] [Patch V2 2/3] gadget: f_thor: check pointers before use in download_tail() Przemyslaw Marczak
@ 2014-12-16 13:47 ` Lukasz Majewski
0 siblings, 0 replies; 13+ messages in thread
From: Lukasz Majewski @ 2014-12-16 13:47 UTC (permalink / raw)
To: u-boot
Hi Przemyslaw,
> Some pointers in function download_tail() were not checked
> before the use. This could possibly cause the data abort.
> To avoid this, check if the pointers are not null is added.
>
> Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
> ---
> Change v2:
> - download_tail(): change printf() to error()
> ---
> drivers/usb/gadget/f_thor.c | 16 ++++++++++++++--
> 1 file changed, 14 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/usb/gadget/f_thor.c b/drivers/usb/gadget/f_thor.c
> index 78519fa..2d0410d 100644
> --- a/drivers/usb/gadget/f_thor.c
> +++ b/drivers/usb/gadget/f_thor.c
> @@ -205,12 +205,24 @@ static long long int download_head(unsigned
> long long total,
> static int download_tail(long long int left, int cnt)
> {
> - struct dfu_entity *dfu_entity =
> dfu_get_entity(alt_setting_num);
> - void *transfer_buffer = dfu_get_buf(dfu_entity);
> + struct dfu_entity *dfu_entity;
> + void *transfer_buffer;
> int ret;
>
> debug("%s: left: %llu cnt: %d\n", __func__, left, cnt);
>
> + dfu_entity = dfu_get_entity(alt_setting_num);
> + if (!dfu_entity) {
> + error("Alt setting: %d entity not found!\n",
> alt_setting_num);
> + return -ENOENT;
> + }
> +
> + transfer_buffer = dfu_get_buf(dfu_entity);
> + if (!transfer_buffer) {
> + error("Transfer buffer not allocated!");
> + return -ENXIO;
> + }
> +
> if (left) {
> ret = dfu_write(dfu_entity, transfer_buffer, left,
> cnt++); if (ret) {
Applied to u-boot-dfu, thanks!
--
Best regards,
Lukasz Majewski
Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [Patch V2 3/3] dfu: dfu_get_buf: check the value of env dfu_bufsiz before use
2014-12-15 9:34 ` [U-Boot] [Patch V2 3/3] dfu: dfu_get_buf: check the value of env dfu_bufsiz before use Przemyslaw Marczak
@ 2014-12-16 13:48 ` Lukasz Majewski
2014-12-16 15:09 ` Marek Vasut
0 siblings, 1 reply; 13+ messages in thread
From: Lukasz Majewski @ 2014-12-16 13:48 UTC (permalink / raw)
To: u-boot
Hi Przemyslaw,
> In function dfu_get_buf(), the size of allocated buffer could
> be defined by the env variable. The size from this variable
> was passed for memalign() without checking its value.
> And the the memalign will return non null pointer for size 0.
>
> This could possibly cause data abort, so now the value of var
> is checked before use. And if this variable is set to 0 then
> the default size will be used.
>
> This commit also changes the base passed to simple_strtoul()
> to 0. Now decimal and hex values can be used for the variable
> dfu_bufsiz.
>
> Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
> ---
> Change v2:
> - new patch
> ---
> drivers/dfu/dfu.c | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c
> index c0aba6e..49abd85 100644
> --- a/drivers/dfu/dfu.c
> +++ b/drivers/dfu/dfu.c
> @@ -111,8 +111,12 @@ unsigned char *dfu_get_buf(struct dfu_entity
> *dfu) return dfu_buf;
>
> s = getenv("dfu_bufsiz");
> - dfu_buf_size = s ? (unsigned long)simple_strtol(s, NULL,
> 16) :
> - CONFIG_SYS_DFU_DATA_BUF_SIZE;
> + if (s)
> + dfu_buf_size = (unsigned long)simple_strtol(s, NULL,
> 0); +
> + if (!s || !dfu_buf_size)
> + dfu_buf_size = CONFIG_SYS_DFU_DATA_BUF_SIZE;
> +
> if (dfu->max_buf_size && dfu_buf_size > dfu->max_buf_size)
> dfu_buf_size = dfu->max_buf_size;
>
Applied to u-boot-dfu, thanks!
--
Best regards,
Lukasz Majewski
Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [Patch V2 3/3] dfu: dfu_get_buf: check the value of env dfu_bufsiz before use
2014-12-16 13:48 ` Lukasz Majewski
@ 2014-12-16 15:09 ` Marek Vasut
2014-12-16 16:07 ` Lukasz Majewski
0 siblings, 1 reply; 13+ messages in thread
From: Marek Vasut @ 2014-12-16 15:09 UTC (permalink / raw)
To: u-boot
On Tuesday, December 16, 2014 at 02:48:46 PM, Lukasz Majewski wrote:
[...]
> Applied to u-boot-dfu, thanks!
Hi,
Will you have any PR for me for this MW please ? If so, when ?
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [Patch V2 3/3] dfu: dfu_get_buf: check the value of env dfu_bufsiz before use
2014-12-16 15:09 ` Marek Vasut
@ 2014-12-16 16:07 ` Lukasz Majewski
2014-12-16 17:01 ` Marek Vasut
0 siblings, 1 reply; 13+ messages in thread
From: Lukasz Majewski @ 2014-12-16 16:07 UTC (permalink / raw)
To: u-boot
Hi Marek,
> On Tuesday, December 16, 2014 at 02:48:46 PM, Lukasz Majewski wrote:
> [...]
> > Applied to u-boot-dfu, thanks!
>
> Hi,
>
> Will you have any PR for me for this MW please ? If so, when ?
Some fixes and clean ups I hope. By the end of current week.
>
> Best regards,
> Marek Vasut
--
Best regards,
Lukasz Majewski
Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [Patch V2 3/3] dfu: dfu_get_buf: check the value of env dfu_bufsiz before use
2014-12-16 16:07 ` Lukasz Majewski
@ 2014-12-16 17:01 ` Marek Vasut
0 siblings, 0 replies; 13+ messages in thread
From: Marek Vasut @ 2014-12-16 17:01 UTC (permalink / raw)
To: u-boot
On Tuesday, December 16, 2014 at 05:07:06 PM, Lukasz Majewski wrote:
> Hi Marek,
>
> > On Tuesday, December 16, 2014 at 02:48:46 PM, Lukasz Majewski wrote:
> > [...]
> >
> > > Applied to u-boot-dfu, thanks!
> >
> > Hi,
> >
> > Will you have any PR for me for this MW please ? If so, when ?
>
> Some fixes and clean ups I hope. By the end of current week.
I pushed an up-to-date u-boot-usb/master tree, so you can use the
up-to-date code.
Hope that helps!
Thanks!
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2014-12-16 17:01 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-11 11:02 [U-Boot] [PATCH 1/2] dfu: mmc: check if mmc device exists in mmc_block_op() Przemyslaw Marczak
2014-12-11 11:03 ` [U-Boot] [PATCH 2/2] gadget: f_thor: check pointers before use in download_tail() Przemyslaw Marczak
2014-12-12 8:38 ` Lukasz Majewski
2014-12-12 8:38 ` [U-Boot] [PATCH 1/2] dfu: mmc: check if mmc device exists in mmc_block_op() Lukasz Majewski
2014-12-15 9:34 ` [U-Boot] [Patch V2 1/3] " Przemyslaw Marczak
2014-12-15 9:34 ` [U-Boot] [Patch V2 2/3] gadget: f_thor: check pointers before use in download_tail() Przemyslaw Marczak
2014-12-16 13:47 ` Lukasz Majewski
2014-12-15 9:34 ` [U-Boot] [Patch V2 3/3] dfu: dfu_get_buf: check the value of env dfu_bufsiz before use Przemyslaw Marczak
2014-12-16 13:48 ` Lukasz Majewski
2014-12-16 15:09 ` Marek Vasut
2014-12-16 16:07 ` Lukasz Majewski
2014-12-16 17:01 ` Marek Vasut
2014-12-16 13:47 ` [U-Boot] [Patch V2 1/3] dfu: mmc: check if mmc device exists in mmc_block_op() Lukasz Majewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox