17" seems very small for an adult bike to me - I'd regard that as a child-size frame, and I'm not much bigger than the OP although my legs are a bit longer. I've got two (old-school rigid) MTB's with 23" frames and get on fine with these for general riding, although I tend to ride a 21" frame on gravel and dirt tracks in woods, for the obvious reason. Sizing seems to have got rather silly in recent years, most modern bikes I see these days look too small for the rider - like they've borrowed it from their little brother!
As fishfright says, things are a bit more complicated with modern frames and sloping top tubes. I have bikes of several nominal sizes and all fit in terms of riding comfort and that dreaded but useful term "cockpit". I have an old faithful Ridgeback with a sloping top tube which someone on a ride told me was too small for me but in truth it has always ridden just fine. I have checked and although it has a lot seatpost shwing it is not beyond the safety limit. In size it is also I think very close to my old Dale fast city bike. That also rode wonderfully sat on it even though I must admit that sometimes when I approached it from afar, seeing it parked/lockedf, it did look curiously small.
Beyond sloping top tubes, the matter is further complicated by the fact that different companies measure bikes in different ways - from the centre of the BB to the top of the top tube, to the middle of the top tube, or to the top of the seatpost on the frame. And, dammit, I have even discovered that Ridgeback changed its system over the years. I had always thought that that old Ridgeback was a 19in. Merasured to the top of the seat tube. But I now understand that when the bike was made, mid to late 90s, they measured to the centre of the top tube where it hit the seat-tube. So in those terms I gather it is more like a 17 or 17.5 inch. I have since acquired another different Ridgeback of similar age which is 19inches to the middle of the top-tube. Also rides fine and maybe looks better/more conventional. Also sloping top tube. Both of those bikes are 700C wheels but as 90s hybrids have a certain MTB heritage.
More recently I bought a Ridgeback Expedition. 26 inch wheels. Slopinmg top tube. That believe it or not is classed as large and is said by Ridgeback to be all of 57cm. But I gather that they are measuring that to the top of the frame's seat-tube. I tried this size and the one below (maybe 54cm) and surprised the shop by going for the bigger one as they expected me with my height of 5ft8 to 5ft 9 to be a 54cm. I musty admit that I partly chose the bigger one as it sort of looked betterv as I admired it from afar across a darkened room

Although initially I feel slightly sat on top of it rather than in it compared to some of my other bikes, it rides just fine. And carries my ton of camping gear very well.