]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: console: Do not use memcmp() to compare INPUT_RECORD.
authorTakashi Yano <takashi.yano@nifty.ne.jp>
Sat, 19 Mar 2022 00:21:04 +0000 (09:21 +0900)
committerTakashi Yano <takashi.yano@nifty.ne.jp>
Sat, 19 Mar 2022 00:21:04 +0000 (09:21 +0900)
commit090797e3d3ddae25404584e4e43061911066f685
tree4dc90a7e35c668f9fc268aaa23146d138e66a84f
parent92519e3d0cd71a2ebce70e43e72d22cfee6945ab
Cygwin: console: Do not use memcmp() to compare INPUT_RECORD.

- Using memcmp() to compare structure such as INPUT_RECORD is not
  correct manner because padding may not be initialized. This patch
  stops to use memcmp() for comparison of INPUT_RECORD.
winsup/cygwin/fhandler_console.cc
This page took 0.02849 seconds and 5 git commands to generate.