public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ramesh R." <rameshr@ami.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: Issue in ShellPkg
Date: Fri, 19 Mar 2021 16:21:25 +0000	[thread overview]
Message-ID: <DM5PR1001MB23617E96D065F038BE433647A2689@DM5PR1001MB2361.namprd10.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 953 bytes --]

In ShellPkg, file Cp.C, Function CopySingleFile Could see allocating the buffer to read/write on the BlockIo device. Don't see code that we are free the memory. So every time user copy the files in Shell, available memory going to reduce.

      //
      // copy data between files
      //
      Buffer = AllocateZeroPool(ReadSize);

Thanks,
Ramesh

Please consider the environment before printing this email.

The information contained in this message may be confidential and proprietary to American Megatrends (AMI).  This communication is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited.  Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.

[-- Attachment #2: Type: text/html, Size: 4346 bytes --]

             reply	other threads:[~2021-03-19 16:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-19 16:21 Ramesh R. [this message]
2021-03-19 19:25 ` [edk2-devel] Issue in ShellPkg Laszlo Ersek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM5PR1001MB23617E96D065F038BE433647A2689@DM5PR1001MB2361.namprd10.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox