public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* NetworkPkg: sending a second HTTPS request without tearing down instance in-between causes a crash
@ 2019-08-13  2:14 rebecca
  0 siblings, 0 replies; only message in thread
From: rebecca @ 2019-08-13  2:14 UTC (permalink / raw)
  To: devel, Siyuan Fu, Jiaxin Wu

I've been working to debug a problem I've been seeing booting FreeBSD
via HTTPS. I filed a BZ at
https://bugzilla.tianocore.org/show_bug.cgi?id=1917 .


I've done some more debugging and tracked the issue down to attempting to request a file twice without tearing down the http instance in-between. 

In https://svnweb.freebsd.org/base/head/stand/efi/libefi/efihttp.c?revision=349613&view=markup :

If, in function efihttp_fs_open (line 565) I call efihttp_dev_close followed by efihttp_dev_open if the first call to _efihttp_fs_open fails, then everything works. 
But if I don't then I get the crash due to the corruption of the SetSessionDataPointer.


-- 
Rebecca Cran


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-13  2:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-13  2:14 NetworkPkg: sending a second HTTPS request without tearing down instance in-between causes a crash rebecca

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox